/** * Call `done` once the CSS animations currently running on `el` (or inside * it) have finished — or right away when none play: `prefers-reduced-motion` * (the stylesheet sets `animation: none`), a host without the tokens * stylesheet, or a DOM without the Web Animations API (happy-dom). Add the * `--leaving` class BEFORE calling this so the exit keyframes are the ones * being waited on. */ export declare function afterExit(el: Element, done: () => void): void;