import React, { FunctionComponent } from 'react';
export declare const defaultFilesState: {
    fileList: null;
    value: string;
};
export declare const FileUpload: FunctionComponent<{
    label?: string;
    onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
    setFiles: React.Dispatch<React.SetStateAction<{
        fileList: FileList | null;
        value: string | number | readonly string[] | undefined;
    }>>;
    setError: React.Dispatch<React.SetStateAction<string | null>>;
    files: FileList | null;
    accept?: string;
    allowMultipleFiles?: false;
    value: string | number | readonly string[] | undefined;
    uploadButtonTitle?: string;
    uploadButtonDescription?: string;
}>;
