import type { DagPlan } from '@mcp-abap-adt/llm-agent'; /** * Replace node `nodeId` in `plan` with the nodes of `subPlan`, flat (no nesting): * - sub-plan node ids are namespaced `${nodeId}:${id}` (collision-safe); * - sub-plan ROOT nodes (no intra-sub deps) inherit the replaced node's * `dependsOn` AND `needsInput`; * - consumers that depended on `nodeId` now depend on the sub-plan's TERMINAL * nodes (sub nodes nothing else in the sub-plan depends on). * Returns a new DagPlan (no mutation of the input). */ export declare function spliceSubPlan(plan: DagPlan, nodeId: string, subPlan: DagPlan): DagPlan; //# sourceMappingURL=splice-sub-plan.d.ts.map