import { KeyframeTrack } from 'three'; /** * Context value for collecting KeyframeTracks from child components */ export interface TrackCollectorContextValue { /** Register a track with the parent AnimationClip */ registerTrack: (track: KeyframeTrack) => void; /** Unregister a track when component unmounts */ unregisterTrack: (track: KeyframeTrack) => void; } /** * Context for track components to register with parent AnimationClip */ export declare const TrackCollectorContext: import('react').Context; /** * Hook to access the TrackCollectorContext */ export declare function useTrackCollector(): TrackCollectorContextValue | null;