import { UploadEnvConfig } from '../types/upload'; import { IUploadEvents, IUploadWarn } from '@treelab/panda'; import { UploadToken } from '../types/upload'; import { IntlShape } from 'react-intl'; interface IUploadArgs { files: File[]; onQueryToken: () => Promise; env: UploadEnvConfig; path: string; onSuccess: IUploadEvents['onSuccess']; onDone?: IUploadEvents['onDone']; onError?: IUploadEvents['onError']; onProgress?: IUploadEvents['onProgress']; } export declare const uploadFiles: (uploadArgs: IUploadArgs, intl?: IntlShape | undefined) => Promise; export declare const getWarningText: (warns: IUploadWarn[], intl?: IntlShape | undefined) => string; export {};