next
Version:
The React Framework
10 lines (9 loc) • 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>;