import http from 'http'; import https from 'https'; export interface httpClientOptions { hostname: string; username?: string; password?: string; } interface MethodOptions { params?: any; data?: any; } export interface HttpClient { get: (resource: string, options: MethodOptions) => Promise; post: (resource: string, options: MethodOptions) => Promise; } export interface RequestOptions { url: string; requestOptions?: http.RequestOptions | https.RequestOptions; data?: any; logger?: any; } export declare const httpClient: (hostname: string, requestOptions?: http.RequestOptions, logger?: any) => HttpClient; export {};