/** * Route pattern matching utilities for in-memory navigation * (Dialog, MasterDetailDialog, ScreenRouter). * * Patterns use `:param` segments: "connections/:accountId" matches "connections/123". * When multiple patterns match, exact (no-param) patterns win over parameterized ones. */ /** Check if a route pattern matches a concrete path. */ export declare function routeMatches(pattern: string, path: string): boolean; /** Parse route parameters from a pattern and concrete path. */ export declare function parseRouteParams(pattern: string, path: string): Record; /** * Find the best matching pattern for a path. * Exact (literal) matches always win over parameterized matches. */ export declare function findBestPattern(patterns: string[], path: string): string | null; /** * Check if a parameterized route should match a path, given all registered patterns. * Returns false if a more specific (exact) pattern already covers the path. */ export declare function shouldRouteMatch(route: string, path: string, allPatterns: string[]): boolean;