/** * @license * Copyright 2024 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { GraphDescriptor, GraphIdentifier, InspectableGraph, InspectableGraphCache, InspectableSubgraphs } from "@breadboard-ai/types"; export { GraphCache }; type GraphFactory = (graphId: GraphIdentifier) => InspectableGraph; declare class GraphCache implements InspectableGraphCache { #private; constructor(factory: GraphFactory); rebuild(graph: GraphDescriptor): void; get(id: GraphIdentifier): InspectableGraph | undefined; add(id: GraphIdentifier): void; graphs(): InspectableSubgraphs; remove(id: GraphIdentifier): void; clear(): void; } //# sourceMappingURL=graph-cache.d.ts.map