import { InvariantRoutes, MatchedRoute, MatchedInvariantRoute, Query, Routes, Route } from '../../types'; export declare const matchInvariantRoute: (routes: InvariantRoutes, pathname: string, queryParams: Query | undefined, basePath?: string) => MatchedInvariantRoute | null; /** * Performance optimisation to fast-match a single route * instead of looping thorugh all defined routes */ export declare const warmupMatchRouteCache: (route: Route, pathname: string, queryParams: Query | undefined, basePath?: string) => void; declare const _default: (routes: Routes, pathname: string, queryParams: Query | undefined, basePath?: string) => MatchedRoute | null; export default _default;