import { UploaderInterface, UploaderOptions, File } from '../../types/request'; import { getExtensionName, getFileSize } from './utils'; declare class Uploader implements UploaderInterface { private options; private uploadingFiles; constructor(options: UploaderOptions); createUid(text: string | number): string; request(files: Array, name?: string): Promise; private upload; handleBefore(file: File, files: Array): Promise; } export default Uploader; export { getExtensionName, getFileSize };