UNPKG

trellis

Version:

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

20 lines 804 B
/** * Table Vanilla — framework-free bindings (ADR 0034 wedge 6). * * Import from `trellis/table/vanilla`: * * const table = createVanillaTable({ data, columns }); * table.actions.startEdit('t1', 'title'); * table.subscribe(() => render(table.state)); * * @module trellis/table/vanilla */ import type { TableConfig, UseTableReturn } from '../core/index.js'; /** Accept either a config (fresh core) or an existing core (shared mount). */ export type TableInput<T> = TableConfig<T> | UseTableReturn<T>; /** * Create a framework-free table from a config or an existing core (to * share one mount across adapters) with the standard core surface. */ export declare function createVanillaTable<T extends object>(input: TableInput<T>): UseTableReturn<T>; //# sourceMappingURL=index.d.ts.map