/** * @license * Copyright 2024 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { EditableGraph, EditableGraphOptions, EditHistory, EditResult, EditSpec, EditTransform, GraphDescriptor, GraphIdentifier, MutableGraph } from "@breadboard-ai/types"; export declare class Graph implements EditableGraph { #private; constructor(mutable: MutableGraph, options: EditableGraphOptions); addEventListener(eventName: string, listener: EventListener, options?: { once?: boolean; }): void; edit(edits: EditSpec[], label: string, dryRun?: boolean): Promise; apply(transform: EditTransform, dryRun?: boolean): Promise; history(): EditHistory; raw(): GraphDescriptor; inspect(id: GraphIdentifier): import("@breadboard-ai/types").InspectableGraph; } //# sourceMappingURL=graph.d.ts.map