import IHttpClient from "./IHttpClient"; import * as Rx from "rx"; import "whatwg-fetch"; import HttpResponse from "./HttpResponse"; import Dictionary from "../util/Dictionary"; declare class HttpClient implements IHttpClient { get(url: string, headers?: Dictionary): Rx.Observable; post(url: string, body: {} | FormData, headers?: Dictionary): Rx.Observable; put(url: string, body: {}, headers?: Dictionary): Rx.Observable; delete(url: string, headers?: Dictionary): Rx.Observable; private getJsonBody(body); private addJsonHeaders(headers, body); private performNetworkCall(url, method, body?, headers?); private isBinaryPayload(contentType); private isFormData(data); } export default HttpClient;