export interface IRequestOptions { method?: string; headers?: Record; credentials?: RequestCredentials; body?: Record; query?: Record; contentType?: "json" | "text" | "blob"; requestMiddlewares?: Array<(data: IFetchOptions) => IFetchOptions>; responseMiddlewares?: Array<(res: any) => any>; timeout?: number; signal?: AbortSignal; signType?: number; [key: string]: any; } export interface IFetchOptions { method: string; headers: Record; credentials?: RequestCredentials; body?: string; signal: AbortSignal; } export declare const request: { (url: string, options?: IRequestOptions): Promise; post(url: string, options?: IRequestOptions): Promise; get(url: string, options?: IRequestOptions): Promise; };