import React from 'react'; import * as THREE from 'three'; import { AnimationConfigMap, AnimationType } from '../types/animation'; /** * Animation constants used throughout the animation system */ export declare const ANIMATION_CONSTANT: { /** Duration for fade in/out transitions (seconds) */ readonly FADE_DURATION: 0.3; /** Default animation duration (seconds) */ readonly DEFAULT_DURATION: 0.5; }; /** * Hook for handling character animations * * This hook manages animation playback, transitions, and sequencing. * It handles fading between animations, setting up animation chains, * and managing animation states. * * @param animationRef - Reference to the current animation action * @param animationConfigMap - Configuration map for all possible animations * @param api - Object containing animation actions and mixer * @returns void */ export declare const useAnimationHandler: (animationRef: React.RefObject, animationConfigMap: AnimationConfigMap, api: { actions: Record; mixer: THREE.AnimationMixer; }, onAnimationComplete?: (type: AnimationType) => void) => void;