import React from 'react';
import { FileError } from 'react-dropzone';
export declare type FileState = {
    file: File;
    state: 'idle' | 'loading' | 'error' | 'success' | 'warning';
    message?: string;
};
export declare type FileChangeEvent = {
    target: {
        name: string | undefined;
        value: File[];
    };
};
export declare type FileUploaderProps = {
    title?: string;
    label?: string;
    id?: string;
    name?: string;
    className?: string;
    callToAction?: string;
    callToActionMobile?: string;
    subtitle?: string;
    reloadTooltip?: string;
    removeTooltip?: string;
    multiple?: boolean;
    maxFiles?: number;
    maxLength?: number;
    minSize?: number;
    maxSize?: number;
    accept?: string;
    filesState?: FileState[];
    language?: 'pt-br' | 'en';
    error?: boolean;
    disabled?: boolean;
    value?: File[];
    customLocale?: {
        [key: string]: string;
    };
    onAdd?: (e: FileChangeEvent) => void;
    onChange?: (e: FileChangeEvent) => void;
    onReloadFile?: (files: File) => void;
    onRemoveFile?: (files: File) => void;
    validation?: (files: File) => FileError | null;
};
declare const FileUploader: React.FunctionComponent<FileUploaderProps>;
export default FileUploader;
//# sourceMappingURL=FileUploader.d.ts.map