import type { Location, Matcher, Params } from "./types.js"; export declare const getMatcher: (name: string, route: string) => Matcher; export declare const getMatchResult: (location: Location, matcher: Matcher) => { key: string; name: string; params: Params; } | undefined; export declare const match: (location: Location, matchers: Matcher[]) => { key: string; name: string; params: Params; } | undefined; export declare const matchToUrl: (matcher: Matcher, params?: Params) => string;