/** A request the stubbed fetch received. */ export interface RecordedRequest { url: URL; headers: Headers; body: string; } /** * Test helper: stubs the global fetch so a test can inspect the requests the * SDK builds, offline. Every call answers 200 with `responseBody` as JSON, or * with what `responseBody(url)` returns when it is a function. Requests to * localhost, an MCP server under test, reach it unrecorded. * Undo it with `vi.unstubAllGlobals()`. */ export declare function recordFetch(responseBody?: unknown | ((url: string) => unknown)): RecordedRequest[]; //# sourceMappingURL=recordFetch.d.ts.map