/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { LocationChangeListener, PlatformLocation } from '@angular/common'; /** * `PlatformLocation` encapsulates all of the direct calls to platform APIs. * This class should not be used directly by an application developer. Instead, use * {@link Location}. */ export declare class BrowserPlatformLocation extends PlatformLocation { private _doc; readonly location: Location; private _history; constructor(_doc: any); getBaseHrefFromDOM(): string; onPopState(fn: LocationChangeListener): void; onHashChange(fn: LocationChangeListener): void; pathname: string; readonly search: string; readonly hash: string; pushState(state: any, title: string, url: string): void; replaceState(state: any, title: string, url: string): void; forward(): void; back(): void; }