/** * get current pattern */ export declare function useLocationPattern(patterns: string[] | { [key: string]: string; }): string | null; export declare function useLogCurrentPath(patterns: string[]): void; export declare namespace ReactRouterUtils { function findLocationPattern(path: string, patterns: string[] | { [key: string]: string; }): string | null; function getCurrentLocationPattern(patterns: string[]): string | null; }