This class should not be used directly by an application developer. Instead, use Location.
Location
abstract class PlatformLocation { abstract getBaseHrefFromDOM(): string; abstract getState(): unknown; abstract onPopState(fn: LocationChangeListener): VoidFunction; abstract onHashChange(fn: LocationChangeListener): VoidFunction; abstract readonly href: string; abstract readonly protocol: string; abstract readonly hostname: string; abstract readonly port: string; abstract readonly pathname: string; abstract readonly search: string; abstract readonly hash: string; abstract replaceState(state: any, title: string, url: string): void; abstract pushState(state: any, title: string, url: string): void; abstract forward(): void; abstract back(): void; optional historyGo(relativePosition: number): void;}