import { TestContext } from "./test-context";
/**
 * Polyfills the global `fetch` function. We do this to make our mock `fetch`
 * implementation work in Node.js v18.
 *
 * None of `fetch` mocking libraries at the time of v18 properly implemented the
 * full API (e.g. passing `FormData` as the body of a request, which is commonly
 * used in Auth0 Actions documentation examples). By replacing the built-in
 * `fetch` with the `node-fetch` polyfill, we can use libraries like `nock` and
 * `fetch-mock` to successfully mimic the full `fetch` API.
 *
 * Libraries fixed this in future releases of Node, and this polyfill can be
 * removed when Auth0 begins supporting beyond Node 18.
 */
export declare function polyfillFetch(testContext: TestContext): Promise<void>;
//# sourceMappingURL=polyfill-fetch.d.ts.map