1 | import { Path, Location, LocationDescriptorObject } from './index';
|
2 |
|
3 | export function addLeadingSlash(path: Path): Path;
|
4 | export function stripLeadingSlash(path: Path): Path;
|
5 | export function hasBasename(path: Path): boolean;
|
6 | export function stripBasename(path: Path, prefix: string): Path;
|
7 | export function stripTrailingSlash(path: Path): Path;
|
8 | export function parsePath(path: Path): Location;
|
9 | export function createPath<S>(location: LocationDescriptorObject<S>): Path;
|