import type { Route, RouteMatchResult } from './types'; /** * Match route by either name or URL pattern * @param routes Available routes * @param routeNameOrUrl Route name or URL to match * @param routeData Optional parameters for named routes */ export declare function matchRoute(routes: Route[], routeNameOrUrl: string, routeData?: Record): RouteMatchResult | null; /** * Find route by name and apply parameters * @param routes Available routes * @param name Route name to find * @param routeData Parameters to apply */ export declare function findRouteByName(routes: Route[], name: string, routeData?: Record): RouteMatchResult | null; /** * Find route matching URL pattern * @param routes Available routes * @param path URL to match */ export declare function findRouteByUrl(routes: Route[], path: string): RouteMatchResult | null;