import type { MaybeRef } from './_shared'; import type { Ref } from '@stacksjs/stx'; /** * Reactive Web Animations API. */ export declare function useAnimate(target: MaybeRef, keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): UseAnimateReturn; export declare interface UseAnimateReturn { isSupported: Ref animate: Ref play: () => void pause: () => void reverse: () => void finish: () => void cancel: () => void pending: Ref playState: Ref currentTime: Ref }