/** * Resolves once `el` has no animation left running, which is how the * transition-aware components wait for a CSS transition or animation to finish * without listening for `transitionend`. * * Environments without `getAnimations` (older browsers, jsdom) resolve * immediately rather than throwing. */ export default function waitForTransition(el: Element): Promise; /** * Runs `callback` once `el` has finished animating. * * `waitForTransition` swallows its own failures, so the rejection handler is * only there to keep the promise from floating. */ export declare function afterTransition(el: Element, callback: () => void): void; //# sourceMappingURL=wait-for-transition.d.ts.map