/** * Minimal polyfills for the standard `Request` and `Response` classes. * * Jest 27's test environments (both `jsdom` and `node`) do not forward the * fetch-API globals that Node 18+ provides. These polyfills are installed * on `globalThis` during `setUp()` so that both the tester's own code and * user test code can use `new Request()` / `new Response()`. */ /** * Installs `Response` and `Request` on `globalThis` when they are missing. * Call from `setUp()`. */ export declare function installFetchPolyfills(): void; /** * Removes only the polyfills that `installFetchPolyfills` added. * Call from `tearDown()`. */ export declare function uninstallFetchPolyfills(): void; //# sourceMappingURL=fetch-polyfills.d.ts.map