import * as React from 'react'; import { Object3D, AnimationClip, AnimationAction, AnimationMixer } from 'three'; type Api = { ref: React.RefObject; clips: AnimationClip[]; mixer: AnimationMixer; names: T['name'][]; actions: { [key in T['name']]: AnimationAction | null; }; }; export declare function useAnimations(clips: T[], root?: React.RefObject | Object3D): Api; export {};