/** For in-memory navigation (Dialog, MasterDetailDialog, ScreenRouter). `:param` segments match one * segment; exact patterns win over parameterized ones. */ export declare function routeMatches(pattern: string, path: string): boolean; export declare function parseRouteParams(pattern: string, path: string): Record; /** Exact matches win over parameterized ones. */ export declare function findBestPattern(patterns: string[], path: string): string | null; /** False where an exact pattern already covers the path. */ export declare function shouldRouteMatch(route: string, path: string, allPatterns: string[]): boolean;