/** * Http client, used to get and send http requests. */ export interface HttpClient { post(url: string, body: Object, options?: { headers?: { [header: string]: string; }; }): Promise; get(url: string, options?: { headers?: { [header: string]: string; }; params?: { [param: string]: string | number | boolean | ReadonlyArray; }; }): Promise; }