import type { Options } from "../../types/index.js"; /** * Core animation update function that handles all animation state changes and execution * @param controlActiveState - Animation states that need to be updated * @param controlDelay - Animation delay time * @param directAnimate - Direct animation target value * @param directTransition - Direct animation transition config */ export interface AnimateUpdatesOptions { controlActiveState?: Partial>; controlDelay?: number; directAnimate?: Options["animate"]; directTransition?: Options["transition"]; isExit?: boolean; } export type AnimateUpdates = (options?: AnimateUpdatesOptions) => Promise | (() => Promise);