@mastra/core
Version:
8 lines • 461 B
TypeScript
import type { SerializedStepFlowEntry, StepFlowEntry } from '../types.js';
/**
* Walk a live `stepFlow` and emit a JSON-safe `SerializedStepFlowEntry[]` with
* full (un-truncated) mapping configs and all step/agent/tool references stored
* as ids. Throws on entries that can't round-trip (closures, closure predicates).
*/
export declare function toStorableGraph(stepFlow: StepFlowEntry[]): SerializedStepFlowEntry[];
//# sourceMappingURL=serialize.d.ts.map