export type HttpClientConfig = { url?: string; allowUnauthorizedCertificates?: boolean; }; export type HttpResponse = { result: TResult; status: number; }; export type RequestOptions = { timeout?: number; headers?: { [name: string]: string | Array; }; }; export declare class HttpClient { config: HttpClientConfig; private httpSuccessResponseCode; private httpRedirectResponseCode; constructor(config?: HttpClientConfig); get(url: string, options?: RequestOptions): Promise>; post(url: string, data: TPayload, options?: RequestOptions): Promise>; put(url: string, data: TResult, options?: RequestOptions): Promise>; delete(url: string, options?: RequestOptions): Promise>; private decorateSSLVerification; private addPrefixToUrl; private buildHeaders; private evaluateResponse; private responseIsAnError; private createAndThrowError; private tryParseStringtoJson; private throwErrorFromString; private throwErrorFromObject; private throwEngineError; private throwNonEngineError; private isEngineError; }