/** * The geometry two routes share: whether one is strictly more specific than the * other, and the concrete path both would match when neither is. D90 R19(c)'s * rule that a route's *shape* has one definition lives in `route-shape.ts`; * this is the finer question the overlap referee asks once two shapes differ, * and it is pure — it reads paths and answers, and knows nothing about the * analyzer that asks. */ type RouteSegment = { readonly literal: string; } | { readonly capture: string; readonly captureType: string; }; export declare function routeSegments(path: string): readonly RouteSegment[]; export declare function routeSharedPath(left: readonly RouteSegment[], right: readonly RouteSegment[]): string | null; export declare function routeSpecificityDecides(left: readonly RouteSegment[], right: readonly RouteSegment[]): boolean; export {}; //# sourceMappingURL=route-overlap.d.ts.map