import { AxiosRequestConfig } from 'axios'; export declare type ClientOptions = { apiKey: string; secretKey: string; baseUrl: string; }; export declare type ClientCreationOptions = Partial; export declare class HttpClient { private readonly _client; private readonly _options; constructor({ apiKey, secretKey, baseUrl }?: ClientCreationOptions); private _injectHeaders; private _executeRequest; /** * Attempts to handle any errors received from the API, throwing a {@link TokenPayError} if necessary * * @param response the response */ private _handleBusinessErrors; get(url: string, params?: any, config?: AxiosRequestConfig): Promise; put(url: string, data?: any, config?: AxiosRequestConfig): Promise; post(url: string, data?: any, config?: AxiosRequestConfig): Promise; delete(url: string, params?: any, config?: AxiosRequestConfig): Promise; }