This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/server/route-modules/pages/pages-handler.d.ts
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

18 lines
863 B
TypeScript

import type { IncomingMessage, ServerResponse } from 'node:http';
import { type RequestMeta } from '../../request-meta';
import type { PagesRouteModule } from './module.compiled';
import type { GetServerSideProps, GetStaticPaths, GetStaticProps } from '../../../types';
export declare const getHandler: ({ srcPage: originalSrcPage, config, userland, routeModule, isFallbackError, getStaticPaths, getStaticProps, getServerSideProps, }: {
srcPage: string;
config: Record<string, any> | undefined;
userland: any;
isFallbackError?: boolean;
routeModule: PagesRouteModule;
getStaticProps?: GetStaticProps;
getStaticPaths?: GetStaticPaths;
getServerSideProps?: GetServerSideProps;
}) => (req: IncomingMessage, res: ServerResponse, ctx: {
waitUntil?: (prom: Promise<void>) => void;
requestMeta?: RequestMeta;
}) => Promise<void>;