export type QueryValue = string | number | boolean | null | undefined; export type QueryParams = Record; export interface HttpClientOptions { baseUrl: string; timeoutMs?: number; headers?: Record; } export interface RequestOptions { query?: QueryParams; headers?: Record; signal?: AbortSignal; } export declare class HttpError extends Error { readonly status: number; readonly statusText: string; readonly body: unknown; constructor(status: number, statusText: string, body: unknown); } export declare class HttpClient { private readonly baseUrl; private readonly timeoutMs; private readonly headers; constructor(options: HttpClientOptions); get(path: string, options?: RequestOptions): Promise; post(path: string, body?: unknown, options?: RequestOptions): Promise; private request; private url; private parse; }