export interface HttpRequestOptions { timeoutMs?: number; headers?: Record; } export interface HttpResponse { status: number; data: T; headers: Headers; } export declare class HttpError extends Error { readonly status?: number; readonly code?: string; readonly exitCode: number; readonly details?: unknown; constructor(message: string, options: { status?: number; code?: string; details?: unknown; }); } export declare class HttpTransport { private readonly baseUrl; private readonly timeoutMs; constructor(port: number, timeoutMs?: number); getBaseUrl(): string; get(path: string, options?: HttpRequestOptions): Promise>; post(path: string, body?: unknown, options?: HttpRequestOptions): Promise>; put(path: string, body?: unknown, options?: HttpRequestOptions): Promise>; delete(path: string, body?: unknown, options?: HttpRequestOptions): Promise>; request(method: 'GET' | 'POST' | 'PUT' | 'DELETE', path: string, body?: unknown, options?: HttpRequestOptions): Promise>; } //# sourceMappingURL=http.d.ts.map