import * as Rx from "rx"; import HttpResponse from "./HttpResponse"; import Dictionary from "../util/Dictionary"; interface 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; } export default IHttpClient;