export declare const XyUpload: import("../shared/install").SFCWithInstall<{ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins boolean | Promise; customRequest?: import("./types").XyUploadRequest; data?: Record; disabled?: boolean; directory?: boolean; drag?: boolean; headers?: Record; listType?: "picture" | "picture-card" | "picture-circle" | "text"; maxCount?: number; maxSize?: number; modelValue?: import("../index.ts").XyUploadFile[]; multiple?: boolean; name?: string; method?: string; openFileDialogOnClick?: boolean; pastable?: boolean; showUploadList?: boolean; withCredentials?: boolean; classNames?: import("./types").XyUploadClassNames; styles?: import("./types").XyUploadStyles; }> & Readonly<{ onProgress?: ((percent: number, file: import("../index.ts").XyUploadFile) => any) | undefined; onChange?: ((info: import("./types").XyUploadChangeInfo) => any) | undefined; onDrop?: ((event: DragEvent) => any) | undefined; onError?: ((error: Error, file: import("../index.ts").XyUploadFile) => any) | undefined; onSuccess?: ((response: unknown, file: import("../index.ts").XyUploadFile) => any) | undefined; onRemove?: ((file: import("../index.ts").XyUploadFile) => any) | undefined; "onUpdate:modelValue"?: ((files: import("../index.ts").XyUploadFile[]) => any) | undefined; onPreview?: ((file: import("../index.ts").XyUploadFile) => any) | undefined; onDownload?: ((file: import("../index.ts").XyUploadFile) => any) | undefined; }>, { abort(file?: import("../index.ts").XyUploadFile): void; input: import("vue").Ref; retry: (file: import("../index.ts").XyUploadFile) => void; upload: (file: import("../index.ts").XyUploadFile) => Promise; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { progress: (percent: number, file: import("../index.ts").XyUploadFile) => any; change: (info: import("./types").XyUploadChangeInfo) => any; drop: (event: DragEvent) => any; error: (error: Error, file: import("../index.ts").XyUploadFile) => any; success: (response: unknown, file: import("../index.ts").XyUploadFile) => any; remove: (file: import("../index.ts").XyUploadFile) => any; "update:modelValue": (files: import("../index.ts").XyUploadFile[]) => any; preview: (file: import("../index.ts").XyUploadFile) => any; download: (file: import("../index.ts").XyUploadFile) => any; }, import("vue").PublicProps, { name: string; data: Record; drag: boolean; multiple: boolean; maxCount: number; modelValue: import("../index.ts").XyUploadFile[]; method: string; autoUpload: boolean; headers: Record; listType: "picture" | "picture-card" | "picture-circle" | "text"; openFileDialogOnClick: boolean; pastable: boolean; showUploadList: boolean; withCredentials: boolean; }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ accept?: string; action?: string; autoUpload?: boolean; beforeUpload?: import("./types").XyBeforeUpload; beforeRemove?: (file: import("../index.ts").XyUploadFile) => boolean | Promise; customRequest?: import("./types").XyUploadRequest; data?: Record; disabled?: boolean; directory?: boolean; drag?: boolean; headers?: Record; listType?: "picture" | "picture-card" | "picture-circle" | "text"; maxCount?: number; maxSize?: number; modelValue?: import("../index.ts").XyUploadFile[]; multiple?: boolean; name?: string; method?: string; openFileDialogOnClick?: boolean; pastable?: boolean; showUploadList?: boolean; withCredentials?: boolean; classNames?: import("./types").XyUploadClassNames; styles?: import("./types").XyUploadStyles; }> & Readonly<{ onProgress?: ((percent: number, file: import("../index.ts").XyUploadFile) => any) | undefined; onChange?: ((info: import("./types").XyUploadChangeInfo) => any) | undefined; onDrop?: ((event: DragEvent) => any) | undefined; onError?: ((error: Error, file: import("../index.ts").XyUploadFile) => any) | undefined; onSuccess?: ((response: unknown, file: import("../index.ts").XyUploadFile) => any) | undefined; onRemove?: ((file: import("../index.ts").XyUploadFile) => any) | undefined; "onUpdate:modelValue"?: ((files: import("../index.ts").XyUploadFile[]) => any) | undefined; onPreview?: ((file: import("../index.ts").XyUploadFile) => any) | undefined; onDownload?: ((file: import("../index.ts").XyUploadFile) => any) | undefined; }>, { abort(file?: import("../index.ts").XyUploadFile): void; input: import("vue").Ref; retry: (file: import("../index.ts").XyUploadFile) => void; upload: (file: import("../index.ts").XyUploadFile) => Promise; }, {}, {}, {}, { name: string; data: Record; drag: boolean; multiple: boolean; maxCount: number; modelValue: import("../index.ts").XyUploadFile[]; method: string; autoUpload: boolean; headers: Record; listType: "picture" | "picture-card" | "picture-circle" | "text"; openFileDialogOnClick: boolean; pastable: boolean; showUploadList: boolean; withCredentials: boolean; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase boolean | Promise; customRequest?: import("./types").XyUploadRequest; data?: Record; disabled?: boolean; directory?: boolean; drag?: boolean; headers?: Record; listType?: "picture" | "picture-card" | "picture-circle" | "text"; maxCount?: number; maxSize?: number; modelValue?: import("../index.ts").XyUploadFile[]; multiple?: boolean; name?: string; method?: string; openFileDialogOnClick?: boolean; pastable?: boolean; showUploadList?: boolean; withCredentials?: boolean; classNames?: import("./types").XyUploadClassNames; styles?: import("./types").XyUploadStyles; }> & Readonly<{ onProgress?: ((percent: number, file: import("../index.ts").XyUploadFile) => any) | undefined; onChange?: ((info: import("./types").XyUploadChangeInfo) => any) | undefined; onDrop?: ((event: DragEvent) => any) | undefined; onError?: ((error: Error, file: import("../index.ts").XyUploadFile) => any) | undefined; onSuccess?: ((response: unknown, file: import("../index.ts").XyUploadFile) => any) | undefined; onRemove?: ((file: import("../index.ts").XyUploadFile) => any) | undefined; "onUpdate:modelValue"?: ((files: import("../index.ts").XyUploadFile[]) => any) | undefined; onPreview?: ((file: import("../index.ts").XyUploadFile) => any) | undefined; onDownload?: ((file: import("../index.ts").XyUploadFile) => any) | undefined; }>, { abort(file?: import("../index.ts").XyUploadFile): void; input: import("vue").Ref; retry: (file: import("../index.ts").XyUploadFile) => void; upload: (file: import("../index.ts").XyUploadFile) => Promise; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { progress: (percent: number, file: import("../index.ts").XyUploadFile) => any; change: (info: import("./types").XyUploadChangeInfo) => any; drop: (event: DragEvent) => any; error: (error: Error, file: import("../index.ts").XyUploadFile) => any; success: (response: unknown, file: import("../index.ts").XyUploadFile) => any; remove: (file: import("../index.ts").XyUploadFile) => any; "update:modelValue": (files: import("../index.ts").XyUploadFile[]) => any; preview: (file: import("../index.ts").XyUploadFile) => any; download: (file: import("../index.ts").XyUploadFile) => any; }, string, { name: string; data: Record; drag: boolean; multiple: boolean; maxCount: number; modelValue: import("../index.ts").XyUploadFile[]; method: string; autoUpload: boolean; headers: Record; listType: "picture" | "picture-card" | "picture-circle" | "text"; openFileDialogOnClick: boolean; pastable: boolean; showUploadList: boolean; withCredentials: boolean; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default?(props: Record): void; file?(props: { file: import("../index.ts").XyUploadFile; }): void; }; })>; export default XyUpload; export type { XyBeforeUpload, XyUploadChangeInfo, XyUploadClassNames, XyUploadRequest, XyUploadRequestOptions, XyUploadSemanticDom, XyUploadStyles, } from "./types";