lingjing/node_modules/next/dist/build/templates/app-route.d.ts
2026-02-23 09:51:43 +00:00

10 lines
791 B
TypeScript

import { AppRouteRouteModule } from '../../server/route-modules/app-route/module.compiled';
import type { IncomingMessage, ServerResponse } from 'node:http';
declare const routeModule: AppRouteRouteModule;
declare const workAsyncStorage: import("../../server/app-render/work-async-storage.external").WorkAsyncStorage, workUnitAsyncStorage: import("../../server/app-render/work-unit-async-storage.external").WorkUnitAsyncStorage, serverHooks: typeof import("../../client/components/hooks-server-context");
declare function patchFetch(): void;
export { routeModule, workAsyncStorage, workUnitAsyncStorage, serverHooks, patchFetch, };
export declare function handler(req: IncomingMessage, res: ServerResponse, ctx: {
waitUntil: (prom: Promise<void>) => void;
}): Promise<null | undefined>;