export interface WidgetTranslations {
  modal: {
    checkingAvailability: string;
    uploadPhoto: string;
    creatingTryOn: string;
    yourTryOn: string;
    oops: string;
    virtualTryOn: string;
    sizeEstimation: string;
  };
  checking: {
    availability: string;
  };
  freeTier: {
    remaining: (count: number) => string;
  };
  errors: {
    refused: string;
    photoBodyHidden: string;
    qualityFailed: string;
    unexpected: string;
    network: string;
    imageLoad: string;
    timeout: string;
    server: string;
    processingFailed: string;
  };
  upload: {
    reuseTitle: string;
    changePhoto: string;
    uploadPhoto: string;
    guide: { do: string; dont: string; checks: readonly { title: string; detail: string }[]; avoid: readonly string[]; tip: string };
    title: string;
    description: string;
    invalidFile: string;
    unreadableImage: string;
    processingFailed: string;
    clickOrDrag: string;
    fileHint: string;
    chooseDifferent: string;
    useThis: string;
    cancel: string;
    privacyNote: string;
    consent: string;
    takePhoto: string;
    cameraTitle: string;
    cameraStarting: string;
    cameraPreview: string;
    cameraCapture: string;
    cameraRetry: string;
    cameraUseUpload: string;
    cameraPermissionDenied: string;
    cameraUnavailable: string;
    cameraInsecure: string;
    cameraNoDevice: string;
    cameraBusy: string;
    cameraFailed: string;
  };
  processing: {
    title: string;
    /**
     * One string per entry in STATUS_SCHEDULE_SECONDS. Fixed-length so the
     * arity stays locked to the schedule and a dropped translation is a
     * compile error.
     */
    statuses: readonly [string, string, string, string, string, string];
    /** Formats elapsed tenths, e.g. en "12.4s" / it "12,4s". */
    elapsed: (tenths: number) => string;
  };
  result: {
    toggleResult: string;
    toggleCompare: string;
    compareOriginal: string;
    compareTryOn: string;
    beforePhoto: string;
    afterTryOn: string;
    before: string;
    after: string;
    beforeAfterSlider: string;
    download: string;
    tryDifferent: string;
    continueShopping: string;
    tryingOn: (productTitle: string) => string;
    /** Demo-only: alt text for the garment thumbnail sitting on the render. */
    garmentThumbnail: string;
    /** Demo-only: replaces Download, because sharing keeps the file local too. */
    share: string;
    viralShare: {
      title: string;
      instagram: string;
      whatsapp: string;
      preparing: string;
      unavailable: string;
      downloadImage: string;
      downloaded: string;
      downloadedMessageCopied: string;
      downloadedCopyFailed: string;
      failed: string;
    };
  };
  size: {
    offerTitle: string;
    offerCta: string;
    checkingPhoto: string;
    qcNotFullBody: string;
    qcPersonTooSmall: string;
    qcNoPerson: string;
    heightLabel: string;
    weightLabel: string;
    fitLabel: string;
    fitTight: string;
    fitRegular: string;
    fitLoose: string;
    invalidHeight: string;
    invalidWeight: string;
    submit: string;
    estimating: string;
    resultTitle: string;
    bandLow: string;
    bandNoMatch: string;
    bandGood: string;
    bandVeryConfident: string;
    betweenSizes: string;
    alsoConsider: (size: string) => string;
    alsoConsiderRoomier: (size: string) => string;
    alsoConsiderCloser: (size: string) => string;
    cartUsesSize: (size: string) => string;
    addToCart: string;
    addToCartError: string;
    addWeight: string;
    retakePhoto: string;
    invalidPhoto: string;
    failed: string;
    unavailable: string;
    close: string;
    photoTitle: string;
    photoDescription: string;
    photoPrivacy: string;
    photoConsent: string;
  };
  /** Demo-only: the saved try-ons. */
  gallery: {
    open: string;
    openWithCount: (count: number) => string;
    title: string;
    back: string;
    emptyTitle: string;
    emptyMessage: string;
    viewProduct: string;
    share: string;
    remove: string;
    removeLabel: (productTitle: string) => string;
    untitledProduct: string;
    garmentThumbnail: string;
    today: string;
    yesterday: string;
    formatDate: (date: Date) => string;
    privacyNote: string;
  };
  /** Demo-only: what happened when the browser did not open a share sheet. */
  share: {
    downloaded: string;
    copied: string;
    failed: string;
  };
  /** Demo-only: try-ons left in the demo. */
  counter: {
    remaining: (count: number) => string;
  };
  /** Demo-only: the email asked for from the second try-on on. */
  lead: {
    title: string;
    purpose: string;
    emailLabel: string;
    emailPlaceholder: string;
    consent: string;
    submit: string;
    skip: string;
    sending: string;
    error: string;
  };
  error: {
    useAnotherPhoto: string;
    title: string;
    suggestions: string;
    tip1: string;
    tip2: string;
    tip3: string;
    tryAgain: string;
    close: string;
  };
  quota: {
    noSubscriptionTitle: string;
    noSubscriptionMessage: string;
    limitReachedTitle: string;
    limitReachedMessage: string;
    temporarilyUnavailableTitle: string;
    temporarilyUnavailableMessage: string;
    freeTierExhaustedTitle: string;
    freeTierExhaustedMessage: string;
    visitorLimitReachedTitle: string;
    visitorLimitReachedMessage: (minutesRemaining?: number) => string;
    currentPlan: (planName: string) => string;
    continueShopping: string;
    close: string;
  };
  warning: {
    freeRemaining: (count: number) => string;
    monthlyRemaining: (count: number) => string;
    label: string;
  };
}
