import { RequestContext } from './request-context'; import { ConfigMetadata } from './routes-matcher'; import { RoutesGroupedByPhase } from './types'; export declare class Router { private routes; private configMetadata; constructor(routes: RoutesGroupedByPhase, configMetadata: ConfigMetadata); fetch: (ctx: RequestContext) => Promise; /** * Finds a match for the request. * * @param matcher Instance of the matcher for the request. * @param phase The phase to run, either `none` or `error`. * @param skipErrorMatch Whether to skip the error match. * @returns The matched set of path, status, headers, and search params. */ private findMatch; /** * Serves a file from the Vercel build output. * * @param reqCtx Request Context object. * @param match The match from the Vercel build output. * @returns A response object. */ private generateResponse; } //# sourceMappingURL=router.d.ts.map