import { PartialLocation } from 'history'; import { RouterParams, RouteObject } from '../api/types'; export declare const matchRoutes: (routes: RouteObject[], location: string | PartialLocation, basename?: string) => RouteMatch[] | null; export interface RouteMatch

{ route: RouteObject; pathname: string; params: P; }