/** * @license * Copyright 2024 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { AssetPath, GraphIdentifier, ImportIdentifier, InspectableAsset, InspectableAssetEdge, InspectableEdge, InspectableGraph, InspectableNode, InspectableNodeType, ModuleIdentifier, MutableGraph, NodeIdentifier, NodeTypeIdentifier, Outcome } from "@breadboard-ai/types"; export { GraphQueries }; /** * Encapsulates common graph operations. */ declare class GraphQueries { #private; constructor(cache: MutableGraph, graphId: GraphIdentifier); isEntry(id: NodeIdentifier): boolean; isExit(id: NodeIdentifier): boolean; incoming(id: NodeIdentifier): InspectableEdge[]; outgoing(id: NodeIdentifier): InspectableEdge[]; entries(): InspectableNode[]; isStart(id: NodeIdentifier): boolean; nodeById(id: NodeIdentifier): InspectableNode | undefined; typeForNode(id: NodeIdentifier): InspectableNodeType | undefined; typeById(id: NodeTypeIdentifier): InspectableNodeType | undefined; moduleExports(): Set; graphExports(): Set; imports(): Promise>>; assets(): Map; assetEdges(): Outcome; } //# sourceMappingURL=graph-queries.d.ts.map