import React from 'react'; declare type Props = { 'data-qa'?: string; accept?: string | string[]; disabled?: boolean; hint?: string; label?: string; maxFileSize?: number; onSelect: Function; value?: string; fileName?: string; labelDefault?: string; hintError?: string; onError?: Function; isFileRemovable?: boolean; theme?: TTheme; onDownloadFile?: (file: string) => void; onRemove?: Function; }; declare const FileInput: React.FC; export default FileInput; export declare function composeMaxFileSize(sizeInMb: number): number; export declare function shouldValidate(file: File, maxFileSizeInBytes: number, accept?: string | string[]): boolean; export declare function composeTheme(hasError: boolean, hasfile: boolean): string; export declare type TTheme = 'complete' | 'enabled' | 'negative';