import { ILifecycle } from './lifecycle'; export declare enum HttpMethods { post = "post", get = "get", } export interface IFetchParams { method: HttpMethods; url: string; data?: object; } export interface IHttpClient { fetch({method, url, data}: IFetchParams): Promise<{ statusCode: number; body: any; }>; } export declare class HttpClient implements IHttpClient, ILifecycle { private token; private config; private getToken(); fetch({method, url, data}: IFetchParams): Promise; start({config}: any): void; stop(): void; }