/** * @license * Copyright 2024 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { AffectedNode, GraphDescriptor, GraphIdentifier, GraphRepresentation, InspectableDescriberResultCache, InspectableEdgeCache, InspectableGraphCache, InspectableKitCache, InspectableModuleCache, InspectableNodeCache, InspectablePortCache, KitDescriptor, MainGraphIdentifier, ModuleIdentifier, MutableGraph, MutableGraphStore } from "@breadboard-ai/types"; export { MutableGraphImpl }; declare class MutableGraphImpl implements MutableGraph { readonly store: MutableGraphStore; readonly id: MainGraphIdentifier; legacyKitMetadata: KitDescriptor | null; graph: GraphDescriptor; graphs: InspectableGraphCache; nodes: InspectableNodeCache; edges: InspectableEdgeCache; modules: InspectableModuleCache; describe: InspectableDescriberResultCache; kits: InspectableKitCache; ports: InspectablePortCache; representation: GraphRepresentation; constructor(graph: GraphDescriptor, store: MutableGraphStore); update(graph: GraphDescriptor, visualOnly: boolean, affectedNodes: AffectedNode[], affectedModules: ModuleIdentifier[]): void; addSubgraph(subgraph: GraphDescriptor, graphId: GraphIdentifier): void; removeSubgraph(graphId: GraphIdentifier): void; rebuild(graph: GraphDescriptor): void; } //# sourceMappingURL=mutable-graph.d.ts.map