/** * Normalizes a route's path. Specifically removes a leading and/or trailing slash. * @param routePath * @experimental */ export declare function normalizeRoutePath(routePath: string | null | undefined): string | null | undefined; /** * Compares a list of routePath segments with a list of url segments and returns whether they are matching. * A routePath segment matches a url segment if they are equal or if the routePath segment is a placeholder (starts with ':'). * @param routePathSegments * @param urlSegments * @experimental */ export declare function compareSegments(routePathSegments: Array, urlSegments: Array): boolean; /** * Tries to find a matching route path to the given #url in a list of #routePaths * @param url * @param routePaths * @experimental */ export declare function findMatchingRoutePath(url: string, routePaths: Array): string | undefined;