import type { HttpClient, HttpResponse } from "../../src/http-client.js"; type Matcher = RegExp | string | ((url: string) => boolean); interface MockResponseInit { body?: string; headers?: Record; json?: unknown; statusCode?: number; } interface MockCall { body?: unknown; headers: Record; method: "GET" | "POST"; url: string; } export declare class MockHttpClient implements HttpClient { readonly calls: MockCall[]; private readonly cookies; private readonly stubs; onGet(matcher: Matcher, ...responses: MockResponseInit[]): void; onPost(matcher: Matcher, ...responses: MockResponseInit[]): void; setCookie(name: string, value: string): void; get(url: string): Promise; postJson(url: string, body: unknown): Promise; private respond; } export {};