import { ILocation, IMatch, IRoute } from '../Router'; /** * Public API for matching a URL pathname to a path. */ export declare function matchPath(pathname: string, options: string | IRoute): IMatch | null | undefined; export declare type MatchingRoute = { location: ILocation; route: IRoute; match: IMatch; index: number; }; export declare function findMatchingRoute(location: ILocation, routes: IRoute[], index: number): MatchingRoute | null | undefined; export declare function findMatchingRoutes(entries: ILocation[], routes: IRoute[], prevMatchingRoutes?: MatchedRoute[]): MatchedRoute[];