1 | import { LocationSegments } from '../global/interfaces';
|
2 | export declare const hasBasename: (path: string, prefix: string) => boolean;
|
3 | export declare const stripBasename: (path: string, prefix: string) => string;
|
4 | export declare const stripTrailingSlash: (path: string) => string;
|
5 | export declare const addLeadingSlash: (path: string) => string;
|
6 | export declare const stripLeadingSlash: (path: string) => string;
|
7 | export declare const stripPrefix: (path: string, prefix: string) => string;
|
8 | export declare const parsePath: (path: string) => LocationSegments;
|
9 | export declare const createPath: (location: LocationSegments) => string;
|
10 | export declare const parseQueryString: (query: string) => {
|
11 | [key: string]: any;
|
12 | };
|