securityos/node_modules/next/dist/experimental/testmode/server.d.ts

6 lines
393 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import type { WorkerRequestHandler } from '../../server/lib/types';
import type { NodeRequestHandler } from '../../server/next-server';
export declare function interceptTestApis(): () => void;
export declare function wrapRequestHandlerWorker(handler: WorkerRequestHandler): WorkerRequestHandler;
export declare function wrapRequestHandlerNode(handler: NodeRequestHandler): NodeRequestHandler;