type optionsRalated = {
    bucketName: string;
    importFileName: string | any;
    autoContentType?: boolean;
};
type ImExportFuncRelated = {
    status: boolean;
    taskId?: string;
};
export declare const useFile: () => {
    showProgressDialog: any;
    progressTitle: any;
    percent: any;
    progressStatus: any;
    progressLoading: any;
    progressResult: any;
    errorFileName: any;
    errorFileSize: any;
    errorMessage: any;
    errorImport: any;
    errorFilePath: any;
    fileImport: (importFunc: (n?: any) => Promise<ImExportFuncRelated>, file: any, options: optionsRalated, needProgress?: boolean, errPathName?: string, isBatch?: boolean) => unknown;
    fileExport: (exportFunc: () => Promise<ImExportFuncRelated>, fileName?: string, fileSuffix?: string, needProgress?: boolean) => any;
    fileAction: (exportFunc: () => Promise<ImExportFuncRelated>, fileName?: string, actionTitle?: string) => any;
    generateUniqueName: (fileName?: string) => string;
    downloadFile: (path: any, filename: string, fileSuffix?: string) => void;
    resetStataus: () => void;
    checkProgress: (taskId: any, type: string, fileName: string, fileSuffix?: string) => any;
    fileHandleType: any;
};
/**
 * 下载文件
 * @param path  文件链接
 * @param filename 下载文件名
 */
export declare const downloadFile: (path: any, filename: string, fileSuffix?: string) => void;
export {};
