UNPKG

trellis

Version:

Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications

21 lines 819 B
/** * Timeline Vue — `useTimelineVue` composable (ADR 0034 wedge 3). * * Import from `trellis/timeline/vue`: * * const { state, actions } = useTimelineVue({ duration: 90 }); * * State is a Vue `reactive` object mirrored from the core via the shared * `syncFromCore` bridge (same pattern as `trellis/forms/vue`). * * @module trellis/timeline/vue */ import type { TimelineConfig, UseTimelineReturn } from '../core/index.js'; /** Accept either a config (fresh core) or an existing core (shared mount). */ export type TimelineInput = TimelineConfig | UseTimelineReturn; /** * Create a reactive Vue timeline. The core's state is mirrored into a * `reactive()` object on every mutation. */ export declare function useTimelineVue(input?: TimelineInput): UseTimelineReturn; //# sourceMappingURL=index.d.ts.map