Location service that provides a drop-in replacement for the $location service provided in AngularJS.
class $locationShim { onChange(fn: (url: string, state: unknown, oldUrl: string, oldState: unknown) => void, err?: (e: Error) => void): void; $$parse(url: string): void; $$parseLinkUrl(url: string, relHref?: string): boolean; absUrl(): string; url(): string; url(url: string): this; protocol(): string; host(): string; port(): number; path(): string; path(path: string | number): this; search(): { [key: string]: unknown; }; search(search: string | number | { [key: string]: unknown; }): this; search(search: string | number | { [key: string]: unknown; }, paramValue: string | number | boolean | string[]): this; hash(): string; hash(hash: string | number): this; replace(): this; state(): unknown; state(state: unknown): this;}