import { IRouteRecord, IRouteMatch, PartialLocation } from './types'; export interface IRouteBaseObject extends Omit, 'children' | 'element' | 'filepath'> { children?: IRouteBaseObject[]; } export declare function rankRouteBranches(branches: T[]): T[]; export declare function matchRoutes(routes: T[], location: string | PartialLocation, basename?: string): IRouteMatch[] | null;