import { RouteConfig } from './match-route.type'; export declare function matchRoutePaths(routePathParts: string[], pathParts: string[]): { isMatch: boolean; params?: Record; isExactMatch?: boolean; firstMatchedParamIndex?: number; }; export interface MatchRouteResult { routes: R[]; params: Record; } export interface MatchedRoute { route: R; params: Record; routeParts: string[]; firstMatchedParamIndex: number; children: MatchedRoute[]; } export declare function matchRoute(path: string, routes: R[]): MatchRouteResult; export declare function splitPath(path?: string): string[];