/**
 * Custom HttpClient for cases when is not possible to use the Angular's HttpClient
 */
export declare class CustomHttpClient {
    private static readonly _responseFormatterMap;
    /**
     * Executes a Http Get
     * @param url Url to execute the Get on
     * @param init Optional additional configs
     * @returns Whether a Promise<T> on request success or an error in request fail
     */
    static GET<T>(url: string, init?: RequestInit): Promise<T>;
    /**
     * Executes a Http Post
     * @param url Url to execute the Post on
     * @param body Info to send to server on Post
     * @param init Optional additional configs
     * @returns Whether a Promise<T> on request success or an error in request fail
     */
    static POST<T>(url: string, body: any, init?: RequestInit): Promise<T>;
    /**
     * Intercepts the original request to add a required header for Senior in case of a internal request
     * @param url Url from the original request
     * @param originalReq Configs from the original request
     * @returns Whether a Promise<Response> if the request was made successfully or an error
     */
    private static interceptRequest;
    /**
     * Formats the request response to an object<T> or {}
     * @param response The response to be formatted
     * @returns Whether a Promise<T> if the response status is in the range 200-299 an error
     */
    private static formatResponse;
}
