import { ControlledFieldProps, ControlledFieldWrapProps } from './TextField';
export interface FileState extends Pick<File, 'name' | 'size' | 'type'> {
    data: string;
}
export interface FileSettings {
    accept?: string[];
    iconUrl?: string;
    maxFiles?: number;
    maxSize?: number;
    multiple?: boolean;
    previewFiles?: boolean;
}
export declare type FileFieldErrors = 'fileRead' | 'fileLimit' | 'fileSize' | 'reading';
export declare type FileFieldControlledProps = ControlledFieldProps & FileSettings;
export declare type FileFieldUncontrolledProps = Omit<FileFieldControlledProps, 'labelVisible' | 'validations' | 'theme' | 'min' | 'max'>;
export declare const FileFieldControlled: ({ accept, helpText, label, maxFiles, maxSize, multiple, placeholder, theme, ...props }: ControlledFieldWrapProps & FileSettings) => JSX.Element;
