trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
15 lines • 569 B
TypeScript
/**
* Gallery entry — undo-history (service core: nothing renders; the stack
* is the component). The demo "document" is a string the pushed commands
* mutate, so undo/redo has something visible to move.
*/
import { createUndoHistoryCore } from '../../undo-history/index.js';
import type { RegisteredComponent } from '../../inspector/index.js';
interface UndoDoc {
text: string;
}
export declare const undoHistoryEntry: RegisteredComponent<{
doc: UndoDoc;
}, ReturnType<typeof createUndoHistoryCore>>;
export {};
//# sourceMappingURL=undo-history.d.ts.map