import React from 'react';
import { Request } from '../interface';
import { UploadProps } from 'antd/lib/upload';
export interface PropTypes extends UploadProps {
    request?: Omit<Request, 'method'> & {
        method?: 'POST' | 'PUT' | 'PATCH' | 'post' | 'put' | 'patch';
    };
    onSuccess?: () => void;
    onError?: (errMsg: string) => void;
    children?: React.ReactNode;
}
declare const _default: ({ action, method, request, onSuccess, onError, onChange, ...others }: PropTypes) => JSX.Element;
export default _default;
