import { Injector, Signal } from '@angular/core'; import { AnyRouter, MakeRouteMatchUnion, RegisteredRouter } from '@tanstack/router-core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; import * as i1 from "./transitioner"; export declare class Matches { private router; private injector; private vcr; private defaultPendingComponent; private resetKey$; private rootMatchId$; private matchLoad$; private cmpRef?; private run$; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export interface MatchesBaseOptions { select?: (matches: Array>) => TSelected; injector?: Injector; } export type MatchesResult = unknown extends TSelected ? Array> : TSelected; export declare function matches$({ injector, ...opts }?: MatchesBaseOptions): Observable>; export declare function matches({ injector, ...opts }?: MatchesBaseOptions): Signal>; export declare function parentMatches$({ injector, ...opts }?: MatchesBaseOptions): Observable>; export declare function parentMatches({ injector, ...opts }?: MatchesBaseOptions): Signal>; export declare function childMatches$({ injector, ...opts }?: MatchesBaseOptions): Observable>; export declare function childMatches({ injector, ...opts }?: MatchesBaseOptions): Signal>;