/** * Waits for a CSS exit animation or transition to finish, then calls `onDone`. * * Uses the Web Animations API (`element.getAnimations()`) when available for * precise, synchronous detection. Falls back to a single microtask + immediate * call when no relevant animations are running (e.g. `prefers-reduced-motion` * or overridden styles). * * @param el - The element whose animations/transitions to observe. * @param onDone - Callback invoked exactly once when all animations end. * @param type - `'animation'` (default) or `'transition'`. */ export declare function awaitExit(el: Element, onDone: () => void, type?: 'animation' | 'transition'): void; //# sourceMappingURL=await-exit.d.ts.map