import { Observable } from 'rxjs'; import { HttpClient } from './http-client'; import { CsHttpSerializer, CsResponse } from '../../interface'; export declare class HttpClientBrowserAdapter implements HttpClient { private headers; private serializer?; private static mapError; private static mapResponse; constructor(); setSerializer(httpSerializer: CsHttpSerializer): void; addHeader(key: string, value: string): void; addHeaders(headers: { [p: string]: string; }): void; get(baseUrl: string, path: string, headers: any, parameters: any, httpSerializer: CsHttpSerializer): Observable; delete(baseUrl: string, path: string, headers: any, parameters: any, httpSerializer: CsHttpSerializer): Observable; patch(baseUrl: string, path: string, headers: any, body: any, httpSerializer: CsHttpSerializer): Observable; post(baseUrl: string, path: string, headers: any, body: any, httpSerializer: CsHttpSerializer): Observable; private invokeRequest; }