import React from 'react';
import type { DraggerProps, UploadProps } from 'antd/es/upload';
import type { ProFormItemProps } from '../../interface';
export type ProFormDraggerProps = ProFormItemProps<DraggerProps> & {
    icon?: React.ReactNode;
    title?: React.ReactNode;
    action?: UploadProps['action'];
    accept?: UploadProps['accept'];
    description?: React.ReactNode;
    /** 最大文件个数 */
    max?: number;
    value?: UploadProps['fileList'];
    onChange?: UploadProps['onChange'];
};
declare const _default: React.ComponentClass<Omit<{
    fieldProps?: (import("../../interface").FieldProps & UploadProps<any> & {
        height?: number | undefined;
    }) | 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;
    action?: string | ((file: import("antd/es/upload").RcFile) => string) | ((file: import("antd/es/upload").RcFile) => PromiseLike<string>) | undefined;
    accept?: string | undefined;
    description?: React.ReactNode;
    /** 最大文件个数 */
    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;
} & import("../../create-field").ExtendsProps, "proFieldProps">, any> | React.FunctionComponent<Omit<{
    fieldProps?: (import("../../interface").FieldProps & UploadProps<any> & {
        height?: number | undefined;
    }) | 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;
    action?: string | ((file: import("antd/es/upload").RcFile) => string) | ((file: import("antd/es/upload").RcFile) => PromiseLike<string>) | undefined;
    accept?: string | undefined;
    description?: React.ReactNode;
    /** 最大文件个数 */
    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;
} & import("../../create-field").ExtendsProps, "proFieldProps">>;
export default _default;
