import { default as React } from 'react';
import { UploadProps } from 'antd';
export interface CustomRequest {
    onProgress: (event: {
        percent: number;
    }) => void;
    onError: (event: Error, body?: any) => void;
    onSuccess: (body: any, file?: File) => void;
    data: any;
    filename: string;
    file: File;
    withCredentials: boolean;
    action: string;
    headers: any;
}
export type UploadButtonProps = Omit<UploadProps<any>, 'name' | 'action'>;
/**
 * Button to upload / import geodata file.
 */
export declare const UploadButton: React.FC<UploadButtonProps>;
export default UploadButton;
