import * as React from 'react';
import { ButtonProps } from './Button';
export type UploadButtonProps = {
    /**
     * Defines the file types the file input should accept. Comma separated list of type specifiers.
     * For example ".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
     */
    accept: string;
    /**
     * Raised when a file is uploaded. The file is passed as the argument.
     */
    onFilesChanged: (file: FileList) => void;
} & Omit<ButtonProps, 'children'>;
declare const UploadButton: React.ForwardRefExoticComponent<{
    /**
     * Defines the file types the file input should accept. Comma separated list of type specifiers.
     * For example ".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
     */
    accept: string;
    /**
     * Raised when a file is uploaded. The file is passed as the argument.
     */
    onFilesChanged: (file: FileList) => void;
} & Omit<ButtonProps, "children"> & React.RefAttributes<HTMLButtonElement>>;
export default UploadButton;
