import { IFileUploadRenderlessParams, IFileUploadService, IFileUploadFile, IFileUploadModalVm, IFileUploadEdmDownload, IFileUploadDownloadFileSingle, IFileUploadBatchSegmentUpload, IFileUploadGetFormData, IFileUploadSetWriterFile, IFileUploadStreamsaver, IFileUploadAfterDownload, IFileUploadDownloadFileInner, IFileUploadBatchSegmentDownload, IFileUploadSliceDownloadChunk, IFileUploadLargeDocumentDownload } from '../file-upload'; export declare const noopFnCreator: (fn: Function, propName?: string) => Function; export declare const initService: ({ props, service }: Pick) => IFileUploadService; export declare const computedUploadDisabled: ({ props, state }: Pick) => () => boolean; export declare const computedUploadingSize: ({ state, constants }: Pick) => () => number; export declare const watchListType: ({ constants, state, api }: Pick) => (type: string) => void; export declare const watchFileList: ({ constants, state, props, api }: Pick) => (fileList: IFileUploadFile[]) => void; export declare const beforeUpload: ({ props, api, Modal, constants, t, state }: Pick & IFileUploadModalVm) => (file: IFileUploadFile, autoRemove: boolean, doUpload: Function) => any; export declare const startUpload: ({ state, constants, vm, Modal, api, t }: Pick & IFileUploadModalVm) => (file: IFileUploadFile, isList: boolean) => void; export declare const properFileSize: ({ props, state, api, constants, Modal, t }: Pick & IFileUploadModalVm) => (file: IFileUploadFile) => boolean; export declare const addFileToList: ({ api, constants, emit, props, state, mode }: Pick) => (rawFile: IFileUploadFile, updateId: string, reUpload: boolean) => void; export declare const getFileHash: ({ emit, Modal, constants, t, CryptoJS, state }: Pick & IFileUploadModalVm & { CryptoJS: object; }) => ({ file, chunkSize, showTips }: { file: IFileUploadFile; chunkSize: number; showTips: boolean; }) => Promise; export declare const handleStart: ({ api, constants, props, state, vm }: Pick) => (rawFiles: IFileUploadFile[], updateId: string, reUpload?: boolean) => void; export declare const calcUploadingFilesInfo: ({ state, constants }: Pick) => () => { percentage: number; uploadList: IFileUploadFile[]; uploadedCount: number; }; export declare const handleProgress: ({ api, constants, emit, state }: Pick) => (event: any, rawFile: File) => void; export declare const handleSuccess: ({ api, constants, emit, state, props, Modal, t }: Pick) => (res: any, rawFile: IFileUploadFile) => void; export declare const handleError: ({ api, constants, emit, state, props }: Pick) => (err: any, rawFile: IFileUploadFile) => void; export declare const handleRemove: ({ api, emit, props, state, constants }: Pick) => (file: IFileUploadFile, raw: File) => void; export declare const handleReUpload: ({ vm, constants }: Pick) => (file: IFileUploadFile) => void; export declare const handleReUploadTotal: (api: IFileUploadRenderlessParams['api']) => (files: IFileUploadFile[]) => void; export declare const clearUploadingFiles: ({ constants, state }: Pick) => () => void; export declare const getFile: (state: IFileUploadRenderlessParams['state']) => (rawFile: IFileUploadFile) => IFileUploadFile; export declare const abort: ({ constants, vm, state }: Pick) => (file: IFileUploadFile) => void; export declare const abortDownload: ({ state }: Pick) => (file: IFileUploadFile, batch?: boolean) => void; export declare const clearFiles: (state: IFileUploadRenderlessParams['state']) => () => void; export declare const submit: ({ api, constants, vm, state, props }: Pick) => () => void; export declare const handleClick: ({ constants, vm }: Pick) => () => any; export declare const getFileUploadUrl: (service: IFileUploadRenderlessParams['service']) => () => Promise; export declare const updateUrl: ({ api, props, state }: Pick) => () => void; declare const getTranslateFile: ({ api, isChunk, isLessThan17G, file, state }: Pick & { isChunk: boolean; isLessThan17G: boolean; file: IFileUploadFile; }) => (data: IFileUploadFile, type: string, index?: number) => void; export declare const getHandleSuccess: ({ state, downloadOps, file, translateFile, isChunk, isLessThan17G }: Pick & { downloadOps: IFileUploadEdmDownload; file: IFileUploadFile; translateFile: ReturnType; isChunk: boolean; isLessThan17G: boolean; }) => (data: any, type: string, index?: number) => boolean; export declare const getCalcProgress: () => (evt: any) => number; export declare const modifyServiceUrlSingle: ({ state, props, constants }: Pick) => ({ file, serviceUrl, range }: { file: IFileUploadFile; serviceUrl: string; range: object; }) => string; export declare const getKiaScanTip: ({ Modal, constants, t }: Pick & IFileUploadModalVm) => ({ data }: { data: IFileUploadFile; }) => IFileUploadModalVm | undefined; export declare const validateDownloadStatus: ({ state, Modal }: Pick & IFileUploadModalVm) => ({ downloadOps, file, isLessThan17G, data }: { downloadOps: IFileUploadEdmDownload; file: IFileUploadFile; isLessThan17G: boolean; data: any; }) => true | undefined; export declare const createDownloadCancelToken: ({ state, service }: Pick) => (file: IFileUploadFile) => string; export declare const downloadFileSingle: ({ service, constants, props, state, api, emit }: Pick) => (args: IFileUploadDownloadFileSingle) => void; export declare const downloadFileBatch: ({ api, service, props, state, emit }: Pick) => (args: IFileUploadDownloadFileSingle) => void; export declare const downloadAsyncPackage: ({ state, props, service, api, constants }: { state: any; props: any; service: any; api: any; constants: any; }) => (params: any) => any; export declare const downloadFileSingleHwh5: ({ state, props, emit, constants }: Pick) => ({ file }: { file: IFileUploadFile; }) => void; export declare const downloadFile: ({ api, state }: Pick) => (file: IFileUploadFile) => void; export declare const downloadFileSingleInner: ({ props, state, api, constants }: { props: any; state: any; api: any; constants: any; }) => ({ file, isBatch }: { file: any; isBatch: any; }) => void; export declare const getDownloadFileInfo: ({ api, state, props, service }: Pick) => ({ docId }: { docId: string; }) => any; export declare const largeDocumentDownload: ({ api, state }: Pick) => ({ file, isBatch, isLessThan17G }: IFileUploadLargeDocumentDownload) => void; export declare const sliceDownloadChunk: ({ state }: Pick) => (file: IFileUploadFile) => IFileUploadSliceDownloadChunk[][]; export declare const batchSegmentDownload: ({ state, api }: Pick) => ({ batchIndex, batches, docId, isBatch, isLessThan17G }: IFileUploadBatchSegmentDownload) => void; export declare const downloadFileInner: ({ api, props, state }: Pick) => ({ batchIndex, file, range, isBatch, isChunk, isLessThan17G }: IFileUploadDownloadFileInner) => void; export declare const afterDownload: ({ api, state }: Pick) => ({ batchIndex, range, data, file, isBatch, isChunk, isLessThan17G }: IFileUploadAfterDownload) => void; export declare const setWriterFile: ({ state, emit, Streamsaver }: Pick & { Streamsaver: IFileUploadStreamsaver; }) => ({ data, index, isLessThan17G, file }: IFileUploadSetWriterFile) => Function; export declare const getFormData: ({ constants, props, state }: Pick) => ({ formData, file, type }: IFileUploadGetFormData) => IUploadFormData; export declare const largeDocumentUpload: ({ api, Modal, state, t, emit, constants }: Pick & IFileUploadModalVm) => (file: IFileUploadFile) => void; export declare const segmentUploadInit: ({ api, props, service, state, constants }: Pick) => (file: IFileUploadFile) => Promise; export declare const segmentUpload: ({ api, props, service, state, emit, constants, CryptoJS }: Pick & { CryptoJS: object; }) => (batchIndex: number, file: IFileUploadFile, progress: { file: IFileUploadFile; }) => void; export declare const batchSegmentUpload: ({ api, constants, props, vm, state }: Pick) => ({ docId, batchIndex, batches, progress }: IFileUploadBatchSegmentUpload) => void; export declare const sliceChunk: ({ state }: Pick) => (file: IFileUploadFile) => Promise[][]; export declare const getToken: ({ constants, props, state, t, Modal }: Pick & IFileUploadModalVm) => ({ token, file, isOnlinePreview, type, isinit }: { token: Function; file: IFileUploadFile; isOnlinePreview: boolean; type: string; isinit: boolean; }) => Promise; export declare const previewFile: ({ api, props }: Pick) => (file: IFileUploadFile, open?: boolean) => Promise; export declare const getNewTabPreviewUrl: ({ api }: Pick) => (file: IFileUploadFile) => Promise; export declare const previewFileSingle: ({ api, state, props, constants, service }: Pick) => ({ file, resolve, open }: { file: IFileUploadFile; resolve: (res: any) => void; open: boolean; }) => void; export declare const previewFileBatch: ({ service, props, state, api }: Pick) => ({ file, resolve, open }: { file: any; resolve: any; open: any; }) => void; export declare const getPreviewUrlSync: ({ constants, props, state }: Pick) => (file: object, batch?: boolean) => string; export declare const previewImage: ({ api, props, service }: Pick) => (file: IFileUploadFile) => Promise; export declare const previewImageSingle: ({ service, state, props }: Pick) => ({ file, url }: { file: IFileUploadFile; url: string; }) => any; export declare const previewImageBatch: ({ service, api }: Pick) => ({ url, file }: { url: string; file: IFileUploadFile; }) => any; export declare const getDialogConfigObj: ({ props, state, t, constants }: Pick) => () => object; export declare const computeDocChunkSize: ({ props, state, constants }: Pick) => () => void; export declare const computedSourcetype: ({ props, constants }: Pick) => () => string[]; export declare const getFileSourceType: ({ state, props, constants }: Pick) => ({ file }: { file: IFileUploadFile; }) => string | undefined; export declare const updateFile: ({ constants, vm }: Pick) => (file: IFileUploadFile) => void; export declare const handleChange: ({ vm, constants }: Pick) => (file: IFileUploadFile) => void; export declare const handleTriggerClick: ({ vm, state, constants, props, emit }: Pick) => ($event: Event, type: string) => void; export declare const onBeforeDestroy: (state: IFileUploadRenderlessParams['state']) => () => void; export declare const handleClickFileList: ({ state, emit }: Pick) => (file: IFileUploadFile) => void; export declare const mounted: ({ vm, state }: Pick) => () => void; export declare const encryptDialogConfirm: ({ state }: Pick) => () => void; export declare const closeRecordPanel: ({ vm, constants, state, props }: Pick) => () => void; export declare const getTipMessage: ({ t, api, constants }: Pick) => ({ accept, fileSize, limit }: { accept: string; fileSize: string; limit: number; }) => string; export {};