import { Injector, Signal } from '@angular/core'; import { AnyRouter, RegisteredRouter, RouterState } from '@tanstack/router-core'; import { Observable } from 'rxjs'; export interface LocationBaseOptions { select?: (state: RouterState['location']) => TSelected; injector?: Injector; } export type LocationResult = unknown extends TSelected ? RouterState['location'] : TSelected; export declare function location$({ injector, select, }?: LocationBaseOptions): Observable>; export declare function location({ injector, select }?: LocationBaseOptions): Signal>;