export interface HeatApiConfig { baseURL: string; } export declare class HeatApi { private baseURL; constructor(defaults: HeatApiConfig); get(path: string): Promise; post(path: string, params: Y): Promise; private searchParams; } export declare class HeatApiError { errorDescription: string; errorCode: number; path: string; params?: { [key: string]: any; }; constructor(errorDescription: string, errorCode: number, path: string, params?: { [key: string]: any; }); }