export declare class MockResponse { status: number; headers: Headers; body: string; ok: boolean; constructor(status: number, body?: string, headers?: Record); text(): Promise; json(): Promise; } export declare class MockFetch { private responses; private lastRequest?; setResponse(url: string, response: MockResponse): void; setResponseByStatus(status: string, response: MockResponse): void; getLastRequest(): { url: string; options: RequestInit; } | undefined; reset(): void; fetch(url: string, options?: RequestInit): Promise; }