import type { TimelineClock } from '../../core/timeline'; import type { DtypeRef } from './dtype-helpers'; /** * One action-label event — a time-bounded discrete annotation. * `ts` and `te` are absolute seconds on the playlist timeline. */ export interface ActionEvent { ts: number; te: number; label: string; [key: string]: unknown; } export interface ActionLabelViewProps { src: string; clock?: TimelineClock | null; /** Optional dtype id or spec. Informational — passed by `` during dispatch. */ dtype?: DtypeRef; className?: string; /** Highlight-check fps. Defaults to 10. */ fps?: number; } /** * ActionLabelView — ribbon timeline of discrete action / phase annotations. * * Top: a full-width ribbon spanning the playlist duration, with segment * boundaries as tick marks, the current segment's events drawn as colored * spans, and a yellow playhead. Bottom: the active event(s) as a badge plus * the full event list for the current segment. * * ## Data format * JSONL lines `{ ts: number, te: number, label: string, ...extras }`. * Events must stay inside their enclosing segment's `[startTime, endTime)`. * * ## Hooks used * `usePlaylist` (for segment boundaries & duration), `useSegment` (events of * the current chunk), `useClockValue` (playhead refresh). */ export declare function ActionLabelView({ src, clock, className, fps }: ActionLabelViewProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ActionLabelView.d.ts.map