export declare class HttpRequestError extends Error { readonly httpStatus: number; readonly headers: Record; readonly responseText: string; readonly url: string; readonly method: string; constructor(msg: string, httpStatus: number, headers: Record, responseText: string, url: string, method: string); } type RequestParams = { url: string; method?: string; body?: string | null; headers?: Record; parseResponse?: boolean; timeout?: number; }; export declare function request({ url, method, body, headers, parseResponse, timeout, }: RequestParams): Promise; export {};