UNPKG

519 BTypeScriptView Raw
1import { LocationSegments } from '../global/interfaces';
2export declare const createKey: (keyLength: number) => string;
3export declare const resolvePathname: (to: string, from?: string) => string;
4export declare const valueEqual: (a: any, b: any) => boolean;
5export declare const locationsAreEqual: (a: LocationSegments, b: LocationSegments) => boolean;
6export declare const createLocation: (path: string | LocationSegments, state: any, key: string, currentLocation?: LocationSegments | undefined) => LocationSegments;