import { ApplicationRef } from '@angular/core'; import { BehaviorSubject, Observable } from 'rxjs'; import * as i0 from "@angular/core"; export interface LifeCycleHook { promise: PromiseLike; } export declare class LifeCycleService { readonly appRef: ApplicationRef; private static hooks; isReady$: BehaviorSubject; constructor(appRef: ApplicationRef); static AddHook(name: string, promise: PromiseLike): void; whenReady(thenOrFunction: Observable | PromiseLike | (() => Observable) | (() => PromiseLike) | (() => T)): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }