export declare const SizeLimit1400KB = 1400000;
export declare const SizeLimit10MB = 10000000;
export declare const SizeLimit32MB = 32000000;
export declare const ALLOWED_FILE_TYPES: readonly ["application/postscript", "application/pdf", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-excel", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.spreadsheet", "application/rtf", "text/plain", "text/html", "text/csv", "text/xml", "image/jpg", "image/jpeg", "image/png", "image/svg+xml", "image/webp", "image/gif", "image/heic", "image/heif", "application/x-excel", "image/tiff", "image/tif", "application/xml"];
export declare const toAllowedFileType: (v: string) => "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "image/jpeg" | "image/jpg" | "image/png" | "image/heic" | "text/html" | "text/csv" | "text/plain" | "image/gif" | "text/xml" | "application/postscript" | "application/vnd.oasis.opendocument.text" | "application/vnd.oasis.opendocument.spreadsheet" | "application/rtf" | "image/heif" | "image/svg+xml" | "image/webp" | "application/x-excel" | "image/tiff" | "image/tif" | "application/xml";
export declare const toAllowedFileTypeStrict: (v: string) => "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "image/jpeg" | "image/jpg" | "image/png" | "image/heic" | "text/html" | "text/csv" | "text/plain" | "image/gif" | "text/xml" | "application/postscript" | "application/vnd.oasis.opendocument.text" | "application/vnd.oasis.opendocument.spreadsheet" | "application/rtf" | "image/heif" | "image/svg+xml" | "image/webp" | "application/x-excel" | "image/tiff" | "image/tif" | "application/xml" | undefined;
export type AllowedFileType = ReturnType<typeof toAllowedFileType>;
export interface FileInputFieldProps {
    fileRef: React.LegacyRef<HTMLInputElement>;
    name: string;
    acceptableTypes?: AllowedFileType[];
    fileType?: string;
    isDisabled?: boolean;
    isSizeLimitForEachFile?: boolean;
    multiple?: boolean;
    sizeLimit?: number;
    value?: string;
    onFileChange: (inputFile: React.ChangeEvent<HTMLInputElement>) => void;
    onFileSizeError?: (isError: boolean, isSingleUploadFileSizeError?: boolean) => void;
}
export declare const FileInputElement: ({ fileType, value, isSizeLimitForEachFile, fileRef, multiple, name, acceptableTypes, sizeLimit, isDisabled, onFileSizeError, onFileChange, }: FileInputFieldProps) => import("react/jsx-runtime").JSX.Element;
export declare const ALLOWED_IMAGE_FILE_TYPES: readonly ["image/jpeg", "image/png", "image/webp"];
export declare const toAllowedImageFileType: (v: string) => "image/jpeg" | "image/png" | "image/webp";
export declare const toAllowedImageFileTypeStrict: (v: string) => "image/jpeg" | "image/png" | "image/webp" | undefined;
export type AllowedImageFileType = ReturnType<typeof toAllowedImageFileType>;
