UNPKG

trellis

Version:

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

20 lines 854 B
/** * Kanban Vanilla — framework-free bindings (ADR 0034 wedge 13). * * Import from `trellis/kanban/vanilla`: * * const board = createVanillaKanban({ data, columns, groupFields, groupFieldId }); * board.actions.moveCard('t1', 'o:todo', 'o:done'); * board.subscribe(() => render(board.state)); * * @module trellis/kanban/vanilla */ import type { KanbanConfig, UseKanbanReturn } from '../core/index.js'; /** Accept either a config (fresh core) or an existing core (shared mount). */ export type KanbanInput<T> = KanbanConfig<T> | UseKanbanReturn<T>; /** * Create a framework-free board from a config or an existing core (to * share one mount across adapters) with the standard core surface. */ export declare function createVanillaKanban<T extends object>(input: KanbanInput<T>): UseKanbanReturn<T>; //# sourceMappingURL=index.d.ts.map