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

6 lines
393 B
TypeScript

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;