/** * @license * Copyright 2024 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { InputValues, InspectableEdge, InspectableNode, InspectableNodePorts, InspectableNodeType, NodeConfiguration, NodeDescriberResult, NodeDescriptor, NodeMetadata, OutputValues } from "@breadboard-ai/types"; export { VirtualNode }; /** * A virtual node represents a node in a virtual graph. Virtual * Graphs aren't actually graphs, but rather code that * behaves as in a "graph-like" way: it may invoke components, * but its topology is entirely imperative. * For example, the runModule code is a virtual graph, and * every capability it invokes shows up as a virtual node. */ declare class VirtualNode implements InspectableNode { #private; descriptor: NodeDescriptor; constructor(descriptor: Partial); title(): string; description(): string; incoming(): InspectableEdge[]; outgoing(): InspectableEdge[]; isEntry(): boolean; isExit(): boolean; isStart(): boolean; type(): InspectableNodeType; describe(): Promise; currentDescribe(): NodeDescriberResult; configuration(): NodeConfiguration; metadata(): NodeMetadata; ports(inputs?: InputValues, outputs?: OutputValues): Promise; currentPorts(inputs?: InputValues, outputs?: OutputValues): InspectableNodePorts; deleted(): boolean; } //# sourceMappingURL=virtual-node.d.ts.map