/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module ai/aicore/utils/waitforanimationstoend */ /** * Resolves once `element` has no animations left. An animation taken over by another one, for example a transition * restarted by a new value, is waited for until the last one is over, whether it finishes or gets canceled. */ export declare function waitForAnimationsToEnd(element: Element): Promise;