main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

29
node_modules/next/dist/server/lib/route-resolver.d.ts generated vendored Normal file
View File

@@ -0,0 +1,29 @@
import type { NextConfigComplete } from '../config-shared';
import type { IncomingMessage, ServerResponse } from 'http';
import '../require-hook';
import '../node-polyfill-fetch';
type RouteResult = {
type: 'rewrite';
url: string;
statusCode: number;
headers: Record<string, undefined | number | string | string[]>;
} | {
type: 'error';
error: {
name: string;
message: string;
stack: any[];
};
} | {
type: 'none';
};
type MiddlewareConfig = {
matcher: string[] | null;
files: string[];
};
type ServerAddress = {
hostname?: string;
port?: number;
};
export declare function makeResolver(dir: string, nextConfig: NextConfigComplete, middleware: MiddlewareConfig, { hostname, port }: Partial<ServerAddress>): Promise<(req: IncomingMessage, res: ServerResponse) => Promise<RouteResult | void>>;
export {};