export type UploadType = 'input' | 'img' | 'button'; export interface FileProps { flex?: boolean; mode?: string; multiple?: boolean; auto?: boolean; action?: string; headers?: object; placeholder?: string; desc?: string; id?: string; required?: boolean; type?: UploadType; picSize?: string | number; width?: string | number; maxLength?: number; accept?: string; maxSize?: string | number; duplicatable?: false; fileIdText?: string; disabled?: boolean; downloadable?: boolean; name?: string; withCredentials?: boolean; files?: any[]; data?: object; beforeSelect?: ((fileList: any) => boolean | Promise) | null; beforeStart?: ((file: any) => boolean | Promise) | null; verifiable?: boolean; showList?: boolean; uploadText?: string; } declare function clear(): void; declare function submit(): Promise; declare function __VLS_template(): { default?(_: { fileList: any[]; }): any; }; declare const __VLS_component: import("vue").DefineComponent; errorType: import("vue").Ref; submit: typeof submit; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { success: (...args: any[]) => void; clear: (...args: any[]) => void; progress: (...args: any[]) => void; change: (...args: any[]) => void; error: (...args: any[]) => void; remove: (...args: any[]) => void; start: (...args: any[]) => void; download: (...args: any[]) => void; }, string, import("vue").PublicProps, Readonly & Readonly<{ onSuccess?: (...args: any[]) => any; onClear?: (...args: any[]) => any; onProgress?: (...args: any[]) => any; onChange?: (...args: any[]) => any; onError?: (...args: any[]) => any; onRemove?: (...args: any[]) => any; onStart?: (...args: any[]) => any; onDownload?: (...args: any[]) => any; }>, { mode: string; auto: boolean; flex: boolean; width: string | number; name: string; data: object; type: UploadType; required: boolean; disabled: boolean; desc: string; id: string; placeholder: string; multiple: boolean; verifiable: boolean; action: string; picSize: string | number; maxLength: number; accept: string; maxSize: string | number; duplicatable: false; fileIdText: string; downloadable: boolean; withCredentials: boolean; files: any[]; headers: object; beforeSelect: ((fileList: any) => boolean | Promise) | null; beforeStart: ((file: any) => boolean | Promise) | null; showList: boolean; uploadText: string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithTemplateSlots>; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };