import { type AxiosRequestConfig } from 'axios'; export declare class ApiHttpError extends Error { readonly data: unknown; readonly status?: number; constructor(message: string, options?: { data?: unknown; status?: number; }); static fromUnknown(error: unknown): ApiHttpError; private static fromAxiosError; } export declare class HttpClient { private readonly client; constructor(baseUrl: string, headers?: Record); delete(url: string, config?: AxiosRequestConfig): Promise; get(url: string, config?: AxiosRequestConfig): Promise; patch(url: string, data?: unknown, config?: AxiosRequestConfig): Promise; post(url: string, data?: unknown, config?: AxiosRequestConfig): Promise; private request; }