interface IRequestPorps { url: string; data?: string | object | ArrayBuffer; header?: Record; timeout?: number; method?: string; dataType?: 'json' | string; responseType?: 'text' | 'arrayBuffer'; mode?: 'cors' | 'no-cors' | 'same-origin'; } export declare function request({ url, method, header, data, timeout, dataType, responseType, mode, }: IRequestPorps): Promise; export {};