/** * Extract a Set / Edit Fields node's assignments as a flat `{ field, value }` * list, normalizing across the node's format versions: * - v3.4 "Edit Fields (Set)": `parameters.assignments.assignments[]` ({ name, value }) * - v2 "Set": `parameters.values.{string,number,boolean,…}[]` ({ name, value }) * - simplified/flat: each remaining top-level parameter key is a field */ export declare function setAssignments(parameters: Record): { field: string; value: unknown; }[]; /** * A Set / Edit Fields node whose assignments are all literals, pure refs, or * templates stays a declarative `graph:editFields` call. If ANY assignment is a * value the expression classifier can't lower (arithmetic, method chains, * `new Date()`, `$env`, …), the whole node is instead emitted as a generated * function that returns its computed field object — run through the same * translation path as a Code node. Returns that function body, or null when the * node has no such transform (stays editFields). */ export declare function computedSetSource(parameters: Record): string | null;