/** * Utility for evaluating MCP node arguments with recursive JSONata expression support */ import type { NodeExecutionRecord } from "../types/execution.js"; /** * Recursively evaluate argument values, treating objects with single "expr" property as JSONata expressions * * Evaluation rules: * 1. Object with exactly one key "expr" (string) → evaluate as JSONata * 2. Object with "expr" and other keys → error (ambiguous) * 3. Array → recurse into each element * 4. Object (non-expr) → recurse into each property * 5. Primitive → pass through as literal */ export declare function evaluateArgValue(value: unknown, context: Record, history: NodeExecutionRecord[], currentIndex: number): Promise; //# sourceMappingURL=arg-evaluator.d.ts.map