import { PropsWithChildren } from 'react'; import { AnimationClip } from 'three'; /** * Context value for registering AnimationClips with parent Fbx component */ export interface FbxAnimationContextValue { /** Register a declaratively created clip */ registerClip: (clip: AnimationClip) => void; /** Unregister when AnimationClip component unmounts */ unregisterClip: (clip: AnimationClip) => void; } /** * Context for AnimationClip components to register with parent Fbx */ export declare const FbxAnimationContext: import('react').Context; /** * Hook to access the FbxAnimationContext */ export declare function useFbxAnimation(): FbxAnimationContextValue | null; /** * Hook to get current declarative clips array */ export declare function useFbxAnimationClips(): AnimationClip[]; /** * Provider component that enables AnimationClip children to register * with the parent Fbx component. */ export declare function FbxAnimationProvider({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;