import type { LocaleMessages, Plural } from '../../utils/locale'; /** Every built-in string of mud-file-input. `supportedFormatsText` and `maxSizeText` * carry a `{formats}` / `{size}` placeholder, filled once the caption is derived from * `accept` / `max-size`. The `sizeUnit*` keys are the same byte-size suffixes as * `mud-file-item`, used when deriving `maxSizeText`. */ export interface FileInputMessages { /** Lead-in CTA body text inside the drop area at rest, before the inline link. */ ctaText: string; /** Label for the inline "choose files" link / the button variant's button. */ chooseFilesText: string; /** Body text shown while a drag is over the drop zone. */ dropzoneActiveText: string; /** Top-left caption template below the dropzone. Carries a `{formats}` placeholder. */ supportedFormatsText: string; /** Top-right caption template below the dropzone. Carries a `{size}` placeholder. */ maxSizeText: string; /** Suffix for a size under 1024 bytes. */ sizeUnitBytes: string; /** Suffix for a size in kilobytes. */ sizeUnitKB: string; /** Suffix for a size in megabytes. */ sizeUnitMB: string; /** Suffix for a size in gigabytes. */ sizeUnitGB: string; /** Suffix for a size in terabytes. */ sizeUnitTB: string; /** Validity message when a required field is submitted with no files. */ requiredText: string; /** Live-region announcement when exactly one file was accepted. Carries a `{name}` placeholder. */ addedOneAnnouncement: string; /** Live-region announcement when more than one file was accepted. */ addedManyAnnouncement: Plural; /** Live-region announcement when every dropped/picked file was rejected. */ rejectedAnnouncement: Plural; /** Live-region announcement after a file is removed from the list. Carries a `{name}` placeholder. */ removedAnnouncement: string; /** `mudError` message for an oversize file with a known name. Carries a `{name}` placeholder. */ sizeRejectionText: string; /** `mudError` message for an oversize file with no known name. */ sizeRejectionGenericText: string; /** `mudError` message for a file whose type doesn't match `accept`, with a known name. Carries a `{name}` placeholder. */ typeRejectionText: string; /** `mudError` message for a file whose type doesn't match `accept`, with no known name. */ typeRejectionGenericText: string; /** `mudError` message for a file rejected past `max-files`. Carries a `{max}` placeholder, plural on its value. */ countRejectionText: Plural; } export declare const FILE_INPUT_MESSAGES: LocaleMessages;