/// import { BasicRestRequest } from './BasicRestRequest'; import { HttpHeader, IRequestOptions, IResponse } from './interface/request.interface'; import { HTTP_METHODS } from './constants'; export interface FetchResponse extends IResponse { body: string; ok: boolean; status: string | number; statusText: string | number; resBuffer: Buffer; acquire(keysChain: string | symbol | (string | symbol)[], type?: string): any; json(): Promise; text(): Promise; buffer(): Promise; textConverted(): Promise; readonly headerMap: H; } export declare class RestRequest extends BasicRestRequest> { get baseUrl(): string; request(url: string, method: HTTP_METHODS, options?: IRequestOptions): Promise>; }