import type { Playlist } from '../../core/playlist'; import type { SegmentState } from '../../core/types'; import type { TimelineClock } from '../../core/timeline'; /** * React hook that returns decoded segment data for the current time. * * Tracks segment boundaries locally (per-hook, per-playlist) — does NOT * rely on a global clock event. This means multiple useSegment hooks with * different playlists on the same clock work correctly. * * Re-renders only when the active segment changes, plus at ~4fps for * boundary checking during playback. * * Clock is resolved from the explicit argument or ``. */ export declare function useSegment(engine: Playlist | null, clock?: TimelineClock | null): SegmentState; //# sourceMappingURL=use-segment.d.ts.map