import type { Easing } from '../types.js'; interface AnimationProps { duration: number; easing?: Easing; direction?: 'normal' | 'reverse'; repeat?: number; onUpdate: (progress: number) => void; onFinish?: () => void; onCancel?: () => void; } interface Animation { then: (callback?: () => void) => Promise; isPending: () => boolean; cancel: () => void; complete: () => void; } declare const createAnimation: (props: AnimationProps) => Animation; export type { AnimationProps, Animation }; export { createAnimation };