import { RequestInterface, AjaxOptions, UploaderOptions, OpenDialogOptions } from '../types'; import Ajax from './ajax'; import Uploader, { getExtensionName, getFileSize } from './uploader'; declare class Request implements RequestInterface { ajax(options: AjaxOptions | string): Ajax; upload(options: UploaderOptions, files: Array, name?: string): Promise; getFiles(options?: OpenDialogOptions): Promise; } export { getExtensionName, Ajax, Uploader, getFileSize }; export default Request;