import React from 'react';
type Props = {
    link?: string;
    filename?: string;
    onUpload: (result: File) => Promise<void>;
    onError?: (error: Error) => void;
    onCancel: () => void;
    supportedFileTypes?: string[];
    isValidLink?: boolean;
};
export declare const UploadFileButton: ({ link, filename, onUpload, onError, onCancel, supportedFileTypes, isValidLink }: Props) => React.JSX.Element;
export {};
