astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
15 lines (14 loc) • 590 B
TypeScript
/**
* Use this module only to have functions needed in development
*/
import type { RoutesList } from '../../types/astro.js';
import type { SSRManifest } from '../app/types.js';
import type { RouteData } from '../../types/public/index.js';
import type { RunnablePipeline } from '../../vite-plugin-app/pipeline.js';
interface MatchedRoute {
route: RouteData;
filePath: URL;
resolvedPathname: string;
}
export declare function matchRoute(pathname: string, routesList: RoutesList, pipeline: RunnablePipeline, manifest: SSRManifest): Promise<MatchedRoute | undefined>;
export {};