import type { Location, Path } from 'history'; export declare function isLocationMatch(currentLocation: Location, toLocation: Path, exact?: boolean): boolean;