/** * Web Animations helpers. * * @module bquery/motion */ import type { AnimateOptions } from './types'; /** @internal */ export declare const applyFinalKeyframeStyles: (element: Element, keyframes: Keyframe[] | PropertyIndexedKeyframes) => void; /** * Animate an element using the Web Animations API with reduced-motion fallback. * * @param element - Element to animate * @param config - Animation configuration * @returns Promise that resolves when animation completes * * @example * ```ts * await animate(element, { * keyframes: [{ opacity: 0 }, { opacity: 1 }], * options: { duration: 200, easing: 'ease-out' }, * }); * ``` */ export declare const animate: (element: Element, config: AnimateOptions) => Promise; //# sourceMappingURL=animate.d.ts.map