import React from 'react';
import type { UploadProps } from 'antd/es/upload';
import type { ButtonProps } from 'antd/es/button';
import type { ProFormItemProps } from '../../interface';
export type ProFormDraggerProps = ProFormItemProps<UploadProps> & {
    icon?: React.ReactNode;
    title?: React.ReactNode;
    listType?: UploadProps['listType'];
    action?: UploadProps['action'];
    accept?: UploadProps['accept'];
    max?: number;
    value?: UploadProps['fileList'];
    onChange?: UploadProps['onChange'];
    buttonProps?: ButtonProps;
    disabled?: ButtonProps['disabled'];
};
declare const _default: React.ComponentClass<Omit<{
    fieldProps?: (import("../../interface").FieldProps & UploadProps<any>) | undefined;
    placeholder?: string | string[] | undefined;
    secondary?: boolean | undefined;
    allowClear?: boolean | undefined;
    disabled?: boolean | undefined;
    width?: number | "xs" | "sm" | "md" | "lg" | "xl" | undefined;
    proFieldProps?: {
        light?: boolean | undefined;
        label?: React.ReactNode;
        mode?: "read" | undefined;
    } | undefined;
} & import("antd/es/form").FormItemProps<any> & {
    icon?: React.ReactNode;
    title?: React.ReactNode;
    listType?: import("antd/es/upload/interface").UploadListType | undefined;
    action?: string | ((file: import("antd/es/upload").RcFile) => string) | ((file: import("antd/es/upload").RcFile) => PromiseLike<string>) | undefined;
    accept?: string | undefined;
    max?: number | undefined;
    value?: import("antd/es/upload").UploadFile<any>[] | undefined;
    onChange?: ((info: import("antd/es/upload").UploadChangeParam<import("antd/es/upload").UploadFile<any>>) => void) | undefined;
    buttonProps?: Partial<{
        href: string;
        target?: string | undefined;
        onClick?: React.MouseEventHandler<HTMLElement> | undefined;
    } & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "onClick" | "type"> & {
        htmlType?: "button" | "reset" | "submit" | undefined;
        onClick?: React.MouseEventHandler<HTMLElement> | undefined;
    } & Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">> | undefined;
    disabled?: boolean | undefined;
} & import("../../create-field").ExtendsProps, "proFieldProps">, any> | React.FunctionComponent<Omit<{
    fieldProps?: (import("../../interface").FieldProps & UploadProps<any>) | undefined;
    placeholder?: string | string[] | undefined;
    secondary?: boolean | undefined;
    allowClear?: boolean | undefined;
    disabled?: boolean | undefined;
    width?: number | "xs" | "sm" | "md" | "lg" | "xl" | undefined;
    proFieldProps?: {
        light?: boolean | undefined;
        label?: React.ReactNode;
        mode?: "read" | undefined;
    } | undefined;
} & import("antd/es/form").FormItemProps<any> & {
    icon?: React.ReactNode;
    title?: React.ReactNode;
    listType?: import("antd/es/upload/interface").UploadListType | undefined;
    action?: string | ((file: import("antd/es/upload").RcFile) => string) | ((file: import("antd/es/upload").RcFile) => PromiseLike<string>) | undefined;
    accept?: string | undefined;
    max?: number | undefined;
    value?: import("antd/es/upload").UploadFile<any>[] | undefined;
    onChange?: ((info: import("antd/es/upload").UploadChangeParam<import("antd/es/upload").UploadFile<any>>) => void) | undefined;
    buttonProps?: Partial<{
        href: string;
        target?: string | undefined;
        onClick?: React.MouseEventHandler<HTMLElement> | undefined;
    } & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "onClick" | "type"> & {
        htmlType?: "button" | "reset" | "submit" | undefined;
        onClick?: React.MouseEventHandler<HTMLElement> | undefined;
    } & Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">> | undefined;
    disabled?: boolean | undefined;
} & import("../../create-field").ExtendsProps, "proFieldProps">>;
export default _default;
