import * as React from 'react';
import { Nullable } from '../../../lib/types';
import { ButtonProps } from '../button';
import { VisuallyHiddenInput } from './styles';
export type UploadButtonProps = ButtonProps & {
    accept: React.ComponentProps<typeof VisuallyHiddenInput>['accept'];
    onFilesLoad: (props: {
        event: React.ChangeEvent<HTMLInputElement>;
        files: FileList;
    }) => void;
    error?: Nullable<string>;
};
declare const UploadButton: React.FC<React.PropsWithChildren<UploadButtonProps>>;
export default UploadButton;
//# sourceMappingURL=upload.d.ts.map