trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
10 lines • 533 B
TypeScript
import type { Entry, FieldDefinition } from './types.js';
export declare function evaluateFormula(expr: string, fields: Record<string, unknown>): number | undefined;
export declare function parseFields(raw: unknown): FieldDefinition[];
export declare function schemaFields(facts: {
e: string;
a: string;
v: unknown;
}[], names: string[]): FieldDefinition[];
export declare function applyFormulas<T extends Record<string, unknown>>(entry: Entry<T>, defs: FieldDefinition[]): Entry<T>;
//# sourceMappingURL=formula.d.ts.map