1 | declare module '@ember/routing/lib/location-utils' {
|
2 | /**
|
3 | @private
|
4 |
|
5 | Returns the current `location.pathname`, normalized for IE inconsistencies.
|
6 | */
|
7 | export function getPath(location: Location): string;
|
8 | /**
|
9 | @private
|
10 |
|
11 | Returns the current `location.search`.
|
12 | */
|
13 | export function getQuery(location: Location): string;
|
14 | /**
|
15 | @private
|
16 |
|
17 | Returns the hash or empty string
|
18 | */
|
19 | export function getHash(location: Location): string;
|
20 | export function getFullPath(location: Location): string;
|
21 | export function getOrigin(location: Location): string;
|
22 | /**
|
23 | Replaces the current location, making sure we explicitly include the origin
|
24 | to prevent redirecting to a different origin.
|
25 |
|
26 | @private
|
27 | */
|
28 | export function replacePath(location: Location, path: string): void;
|
29 | }
|