import { AxiosRequestConfig } from 'axios'; export declare type ClientOptions = { apiKey: string; secretKey: string; baseUrl: string; language: string; }; export declare type ClientCreationOptions = Partial; export declare class HttpClient { private readonly _client; private readonly _options; constructor({ apiKey, secretKey, baseUrl, language }?: ClientCreationOptions); 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; private _injectHeaders; private _executeRequest; /** * Attempts to handle any errors received from the API, throwing a {@link CraftgateError} if necessary * * @param response the response * @param config axios request config */ private _handleBusinessErrors; }