/**
 * Returns whether an element currently has an animation.
 * This will be empty or `none` when prefers-reduced-motion is enabled
 */
export declare function hasAnimation(element: HTMLElement): boolean;
export declare function onAnimationEnd(element: HTMLElement): Promise<void>;
/** Waits for an animation to complete on an element, after any other animations. */
export declare function animate(element: HTMLElement, animation: string): Promise<void>;
