export interface RouteParam { name: string; catchAll: boolean; } export interface CompiledRoute { regex: RegExp; params: RouteParam[]; originalRoute: string; } export interface MatchResult { matchedRoute: string; routeParams: Partial>; } export declare function detectRouteSystem(url: string): "mixed" | "express" | "next" | "static"; export interface RouteResult { system: 'express' | 'next' | 'static'; match: MatchResult | null; } export declare function routeMatcher({ expressPaths, nextPaths }: { expressPaths: string[]; nextPaths: string[]; }): (expressOrNextRoute: string) => RouteResult; //# sourceMappingURL=route-matcher.d.ts.map