trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
21 lines • 900 B
TypeScript
/**
* Timeline core — headless playhead engine (ADR 0034 wedge 3).
*
* Framework-free and DOM-free, and **timer-free**: time only advances via
* explicit `step(deltaSeconds)` calls, so every behavior is deterministic
* and testable in Node. Adapters (or app tickers) drive the clock.
*
* const timeline = createTimelineCore({ duration: 90, marks });
* timeline.actions.play();
* // in a rAF / interval:
* timeline.actions.step(1 / 60);
*
* Shared by realtime-app and Raster.tv; feeds the DAG-scheduler
* visualization.
*
* @module trellis/timeline
*/
import type { TimelineConfig, UseTimelineReturn } from './types.js';
export type { TimelineActions, TimelineConfig, TimelineMark, TimelineRange, TimelineState, UseTimelineReturn, } from './types.js';
export declare function createTimelineCore(config?: TimelineConfig): UseTimelineReturn;
//# sourceMappingURL=index.d.ts.map