/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { GraphDescriptor, GraphIdentifier, NodeIdentifier } from "@breadboard-ai/types"; export { nodesToSubgraph }; /** * Moves a group of nodes within a graph into a subgraph, mutating * the supplied graph. * * @param graph - The graph where the subgraph will be created. * @param nodeGroup - The group of nodes to include in the subgraph. * @param subgraphId - The unique identifier for the subgraph. * @param title - An optional title for the subgraph. * @param description - An optional description for the subgraph. */ declare function nodesToSubgraph(graph: GraphDescriptor, nodeGroup: NodeIdentifier[], subgraphId: GraphIdentifier, title?: string, description?: string): void; //# sourceMappingURL=nodes-to-subgraph.d.ts.map