import { GlobalContext } from "./context-util"; import { Request, Response } from "express"; import { AxiosRequestConfig, AxiosError } from "axios"; export declare class RequestUtil { private ctx; constructor(ctx: GlobalContext); parseRequest(req: Request): AxiosRequestConfig; isStringResponse(contentType?: string): boolean; processResponseError(error: AxiosError, request: Request, response: Response, requestConfig: AxiosRequestConfig): Promise; getResponseFromHistory(request: Request, response: Response, reqConfig: AxiosRequestConfig, path: string): Promise; assignHeadersToResponse(headers: any, response: Response, req?: Request): void; changeToFormData(obj?: any): string; }