declare const Apis: { fileUpload?: (file: any, bucket?: FileUpType, callProg?: (per: number) => void, isAnyUp?: boolean, ...args: any[]) => Promise; }; declare function doInputFile(call: (e: any) => void, accept?: string, multiple?: boolean): void; declare function doFileCheck(file: File, accept?: string, sizeClamp?: number): boolean; declare function uploadFile_one(callEnd?: (data?: any) => void, accept?: string, callUpStart?: (file?: File) => void, bucket?: FileUpType, sizeClamp?: number, isAnyUp?: boolean): void; declare function uploadFile(file: File, callEnd?: (data?: any) => void, bucket?: FileUpType, sizeClamp?: number, isAnyUp?: boolean): Promise; declare function readFile(file: File, call: (data: any) => void, type?: string): void; /**预览文件 */ /** * 预览文件 * @param fileList 文件数组 * @param type 文件类型,当前支持 img/pdf/video * @param container 容器 */ declare function previewFile(fileList: any[], type?: FileType, container?: any, isAnyUp?: boolean): void; /**下载文件 */ declare function loadFile(obj: any, callEnd?: (url?: string, data?: any) => void, type?: "download" | "document" | "preview", resT?: XMLHttpRequestResponseType, isThumb?: boolean, isReplace?: boolean, isAnyUp?: boolean): void; /**填充为真实地址 */ declare function toZFile(fileList: FileDt[], callEnd?: () => void, resT?: XMLHttpRequestResponseType, isThumb?: boolean, isReplace?: boolean, isAnyUp?: boolean): FileDt[]; export { Apis, doInputFile, uploadFile_one, doFileCheck, uploadFile, readFile, previewFile, loadFile, toZFile, };