A service that applications can use to interact with a browser's URL.
class Location implements OnDestroy { path(includeHash?: boolean): string; getState(): unknown; isCurrentPathEqualTo(path: string, query?: string): boolean; normalize(url: string): string; prepareExternalUrl(url: string): string; go(path: string, query?: string, state?: any): void; replaceState(path: string, query?: string, state?: any): void; forward(): void; back(): void; historyGo(relativePosition?: number): void; onUrlChange(fn: (url: string, state: unknown) => void): VoidFunction; subscribe(onNext: (value: PopStateEvent) => void, onThrow?: ((exception: any) => void) | null | undefined, onReturn?: (() => void) | null | undefined): SubscriptionLike; static normalizeQueryParams: (params: string) => string; static joinWithSlash: (start: string, end: string) => string; static stripTrailingSlash: (url: string) => string;}