import type { Route } from "../routes/interfaces"; import type { EndRoutePath, LocaleType, RoutePathInterface, SegmentRoutePath } from "../types"; export interface RouteMatch { namedParams: Map | undefined; path: string; ref: RouteRef; route: Route; routePath: EndRoutePath | SegmentRoutePath; } export declare function findMatch(path: string, routes: Route[], locale?: Locales): RouteMatch | null; //# sourceMappingURL=findMatch.d.ts.map