/** * Coordinates OTF visual ownership across an application navigation boundary. * The host still owns routing and supplies the concrete animation callbacks. */ export type TransitionLifecycleState = "idle" | "exiting" | "exit-complete" | "entering" | "complete" | "cancelled"; export type TransitionLifecyclePhase = "out" | "in"; export interface TransitionLifecycleOptions { playNavigation?: (phase: TransitionLifecyclePhase) => void | Promise; playPresentation?: (phase: TransitionLifecyclePhase) => void | Promise; setAmbientEnabled?: (enabled: boolean) => void; setSignalsEnabled?: (enabled: boolean) => void; setOccupantsVisible?: (visible: boolean) => void; onStateChange?: (state: TransitionLifecycleState) => void; } export interface TransitionLifecycleController { exit(): Promise; enter(): Promise; cancel(): void; getState(): TransitionLifecycleState; isRunning(): boolean; } export declare function createTransitionLifecycle(options?: TransitionLifecycleOptions): TransitionLifecycleController; //# sourceMappingURL=transitionLifecycle.d.ts.map