import type { RouteRegex } from './route-regex'; export interface RouteMatch { (pathname: string | null | undefined): false | Params; } export interface Params { [param: string]: any; } export declare function getRouteMatcher({ re, groups }: RouteRegex): RouteMatch;