import type { TimelineClock } from '../../core/timeline'; import type { DtypeRef } from './dtype-helpers'; export interface BarTrackSample { ts: number; data: number[] | number; } export interface BarTrackViewProps { src: string; clock?: TimelineClock | null; /** Optional dtype id or spec. Informational — passed by `` during dispatch. */ dtype?: DtypeRef; className?: string; /** Display fps. Defaults to 15. */ fps?: number; /** Which merged track to read. Defaults to `"data"`. */ trackName?: string; /** Per-channel labels. Defaults to `C0`, `C1`, …, `C{N-1}`. */ channelNames?: string[]; /** * Soft limit used to scale the signed bar width. Values in `[-range, range]` * fill half the bar. Defaults to `1`. */ range?: number; /** Tailwind background-class for the filled bar. Defaults to `bg-emerald-400`. */ accentColor?: string; /** Optional header label shown next to the timestamp. */ title?: string; } /** * BarTrackView — generic N-channel continuous-data view. * * The same bar UI that `JointAngleView` used to ship with, promoted to a * reusable view for any shape of continuous time-series data (sensor, * actuator, feature vector, loss curve, ...). * * ## Data format * JSONL lines of shape `{ ts: number, data: number | number[] }`. Stride is * inferred from the first sample. Keep `data.length` constant across chunks. * * ## Hooks used * `useMergedTrack` + `useTrackSample` (lerp). Reads the track named * `trackName` (default `"data"`). */ export declare function BarTrackView({ src, clock, className, fps, trackName, channelNames, range, accentColor, title, }: BarTrackViewProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=BarTrackView.d.ts.map