import React from 'react';
import { BaseFormControl } from '../Form.models';
export interface FileUpload {
    file: File;
    uploadStarted: () => void;
    uploadProgress: (percentage: number) => void;
    uploadCompleted: () => void;
}
export interface FileUploadProps extends BaseFormControl {
    /** Input placeholder */
    placeholder?: string;
    /** Current value of the file upload */
    value?: FileUpload;
    /** Input 'accept' attribute. MIME Types can be set here to limit which file types can be selected */
    accept?: string;
    /** Callback called when a file is dropped or selected
     * @param selectedFile File selected
     * @param uploadStarted Function to be called to show the upload progress bar
     * @param uploadProgress Function to be called to update the progress bar
     * @param uploadCompleted Function to be called to hide the upload progress bar
     */
    onFileSelected: (args: FileUpload) => void;
}
export declare const FileUploadControl: React.FC<FileUploadProps>;
//# sourceMappingURL=FileUploadControl.d.ts.map