import { HttpClient } from 'aurelia-fetch-client'; import { EventAggregator } from 'aurelia-event-aggregator'; import 'whatwg-fetch'; export declare class Api { http: HttpClient; eventAggregator: EventAggregator; /** * Set this property in children class when using this class as inheritance */ baseUrl: string; constructor(http: HttpClient, eventAggregator: EventAggregator); configure(): void; defaultOptions(options?: any): any; get(entrypoint: string, options?: any): Promise; post(entrypoint: string, body?: any, options?: any): Promise; put(entrypoint: string, body?: any, options?: any): Promise; delete(entrypoint: string, body?: any, options?: any): Promise; normalizeBody(body: any, options: any): any; }