/** * Shared presence context for `` and ``. When a * child becomes "exiting", its nearest parent `` flips * `isPresent` to false. The child is expected to play an exit animation * and then call `safeToRemove()` so the parent can drop the element * from the tree. * * Vue parity for the React `PresenceContext`. Implemented as a Vue * `inject` key so descendant `` components can subscribe via * `inject(PresenceKey, null)`. */ import type { InjectionKey } from "vue"; export interface PresenceValue { readonly isPresent: boolean; /** Child calls this once its exit animation has finished. */ safeToRemove(): void; } export declare const PresenceKey: InjectionKey; //# sourceMappingURL=presence.d.ts.map