import type { UploadFile, UploadFiles, UploadRawFile, UploadUserFile } from 'element-plus';
/** 取消按钮 */
declare function closeDialog(): void;
/** 表单重置 */
declare function reset(): void;
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
    onSuccess: {
        readonly type: import("vue").PropType<(response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: () => void;
    };
    onError: {
        readonly type: import("vue").PropType<(error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: () => void;
    };
    httpRequest: {
        readonly type: import("vue").PropType<import("element-plus").UploadRequestHandler>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: import("element-plus").UploadRequestHandler;
    };
    beforeUpload: {
        readonly type: import("vue").PropType<(rawFile: UploadRawFile) => boolean | void | Blob | File | Promise<boolean | void | Blob | File | null | undefined> | null | undefined>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: () => void;
    };
    onRemove: {
        readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: () => void;
    };
    onExceed: {
        readonly type: import("vue").PropType<(files: File[], uploadFiles: UploadUserFile[]) => void>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: () => void;
    };
    accept: {
        type: StringConstructor;
        default: string;
    };
    errorReselect: {
        type: BooleanConstructor;
    };
    dialogProps: {
        type: import("vue").PropType<Partial<import("../../base").DialogProps>>;
        default: () => {
            title: string;
            width: string;
            appendToBody: boolean;
        };
    };
    fileList: {
        type: import("vue").PropType<UploadUserFile[]>;
    };
}, {
    submit: () => void;
    abort: (file: UploadFile) => void;
    clearFiles: (states?: import("element-plus").UploadStatus[] | undefined) => void;
    handleStart: (rawFile: UploadRawFile) => void;
    handleRemove: (file: UploadRawFile | UploadFile) => void;
    openDialog: () => void;
    closeDialog: typeof closeDialog;
    reset: typeof reset;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
    downloadTemplate: () => void;
    importClick: () => void;
    "update:fileList": (value: UploadUserFile[]) => void;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
    onSuccess: {
        readonly type: import("vue").PropType<(response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: () => void;
    };
    onError: {
        readonly type: import("vue").PropType<(error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: () => void;
    };
    httpRequest: {
        readonly type: import("vue").PropType<import("element-plus").UploadRequestHandler>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: import("element-plus").UploadRequestHandler;
    };
    beforeUpload: {
        readonly type: import("vue").PropType<(rawFile: UploadRawFile) => boolean | void | Blob | File | Promise<boolean | void | Blob | File | null | undefined> | null | undefined>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: () => void;
    };
    onRemove: {
        readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: () => void;
    };
    onExceed: {
        readonly type: import("vue").PropType<(files: File[], uploadFiles: UploadUserFile[]) => void>;
        readonly required: false;
        readonly validator: ((val: unknown) => boolean) | undefined;
        __epPropKey: true;
    } & {
        readonly default: () => void;
    };
    accept: {
        type: StringConstructor;
        default: string;
    };
    errorReselect: {
        type: BooleanConstructor;
    };
    dialogProps: {
        type: import("vue").PropType<Partial<import("../../base").DialogProps>>;
        default: () => {
            title: string;
            width: string;
            appendToBody: boolean;
        };
    };
    fileList: {
        type: import("vue").PropType<UploadUserFile[]>;
    };
}>> & {
    "onUpdate:fileList"?: ((value: UploadUserFile[]) => any) | undefined;
    onDownloadTemplate?: (() => any) | undefined;
    onImportClick?: (() => any) | undefined;
}, {
    onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
    onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
    accept: string;
    beforeUpload: (rawFile: UploadRawFile) => boolean | void | Blob | File | Promise<boolean | void | Blob | File | null | undefined> | null | undefined;
    onRemove: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
    onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
    httpRequest: import("element-plus").UploadRequestHandler;
    errorReselect: boolean;
    dialogProps: Partial<import("../../base").DialogProps>;
}, {}>, {
    default?: ((props: {}) => any) | undefined;
}>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
