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 | null | undefined): boolean; absUrl(): string; url(): string; url(url: string): this; protocol(): string; host(): string; port(): number | null; path(): string; path(path: string | number | null): 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[] | null | undefined): this; hash(): string; hash(hash: string | number | null): this; replace(): this; state(): unknown; state(state: unknown): this;}