UNPKG

341 BTypeScriptView Raw
1import { MatchOptions, MatchResults } from '../global/interfaces';
2/**
3 * Public API for matching a URL pathname to a path pattern.
4 */
5export declare const matchPath: (pathname: string, options?: MatchOptions) => MatchResults | null;
6export declare const matchesAreEqual: (a: MatchResults | null, b: MatchResults | null) => boolean | null;