import { InputHTMLAttributes, FC } from 'react';
import { ButtonProps } from '../Button';
declare type BaseElement = HTMLInputElement;
declare type BaseProps = InputHTMLAttributes;
export interface FilePickerProps extends Pick, BaseProps {
/**
* `class` to be passed to the component.
*/
readonly className?: BaseProps['className'];
/**
* Callback that fires when user has chosen a file.
* @param file the chosen file
*/
readonly onFileChange?: (file?: File) => void;
}
/**
* FilePicker
*
* Can be used when file input from user is needed.
*
* The component is built with a Button component. When the user
* clicks the button a input file chooser dialog will appear.
*
*/
export declare const FilePicker: FC;
export {};