import { type UploadFile, type UploadRawFile, type UploadRequestOptions } from './upload'; declare var __VLS_1: {}, __VLS_3: {}, __VLS_9: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_25: { file: any; }, __VLS_43: { file: any; }; type __VLS_Slots = {} & { trigger?: (props: typeof __VLS_1) => any; } & { default?: (props: typeof __VLS_3) => any; } & { trigger?: (props: typeof __VLS_9) => any; } & { default?: (props: typeof __VLS_15) => any; } & { tip?: (props: typeof __VLS_17) => any; } & { default?: (props: typeof __VLS_19) => any; } & { file?: (props: typeof __VLS_25) => any; } & { 'file-icon'?: (props: typeof __VLS_43) => any; }; declare const __VLS_component: import("vue").DefineComponent; readonly default: () => never[]; }; readonly accept: { readonly type: StringConstructor; readonly default: ""; }; readonly action: { readonly type: StringConstructor; readonly default: ""; }; readonly method: { readonly type: StringConstructor; readonly default: "POST"; }; readonly headers: { readonly type: import("vue").PropType>; readonly default: () => {}; }; readonly data: { readonly type: import("vue").PropType>; readonly default: () => {}; }; readonly name: { readonly type: StringConstructor; readonly default: "file"; }; readonly multiple: BooleanConstructor; readonly drag: BooleanConstructor; readonly showFileList: { readonly type: BooleanConstructor; readonly default: true; }; readonly limit: NumberConstructor; readonly autoUpload: { readonly type: BooleanConstructor; readonly default: true; }; readonly listType: { readonly type: import("vue").PropType<"text" | "picture" | "picture-card">; readonly default: "text"; }; readonly withCredentials: { readonly type: BooleanConstructor; readonly default: false; }; readonly httpRequest: { readonly type: import("vue").PropType<(options: UploadRequestOptions) => Promise | void>; }; readonly beforeUpload: { readonly type: import("vue").PropType<(file: UploadRawFile) => boolean | Promise>; }; readonly beforeRemove: { readonly type: import("vue").PropType<(file: UploadFile, fileList: UploadFile[]) => boolean | Promise>; }; readonly disabled: BooleanConstructor; readonly maxSize: NumberConstructor; readonly thumbnailRequest: { readonly type: import("vue").PropType<(file: UploadRawFile) => Promise | string>; }; readonly directory: BooleanConstructor; readonly showDownload: BooleanConstructor; readonly triggerPosition: { readonly type: import("vue").PropType<"top" | "bottom" | "left" | "right">; readonly default: "top"; }; readonly fileIcon: import("vue").PropType string)>; readonly crossorigin: { readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">; }; readonly themeOverrides: { readonly type: import("vue").PropType; readonly default: undefined; }; }>, { triggerInput: () => void; handleRemove: (file: UploadFile) => Promise; handlePreview: (file: UploadFile) => Promise; handleDownload: (file: UploadFile) => Promise; handleFiles: (files: File[]) => Promise; submit: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, { readonly disabled: boolean; readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars; readonly name: string; readonly data: Record; readonly drag: boolean; readonly multiple: boolean; readonly method: string; readonly directory: boolean; readonly headers: Record; readonly withCredentials: boolean; readonly action: string; readonly fileList: UploadFile[]; readonly accept: string; readonly showFileList: boolean; readonly autoUpload: boolean; readonly listType: "text" | "picture" | "picture-card"; readonly showDownload: boolean; readonly triggerPosition: "top" | "bottom" | "left" | "right"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithSlots; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };