/** * @license * Copyright 2024 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { EventIdentifier, GraphDescriptor, HarnessRunResult, InspectableRun, InspectableRunEdge, InspectableRunEvent, InspectableRunInputs, InspectableRunLoadResult, InspectableRunNodeEvent, InspectableRunObserver, InspectableRunSequenceEntry, MutableGraphStore, NodeConfiguration, NodeIdentifier, RunObserverOptions, RunSerializationOptions, SerializedRun, SerializedRunLoadingOptions } from "@breadboard-ai/types"; export declare class RunObserver implements InspectableRunObserver { #private; constructor(store: MutableGraphStore, options: RunObserverOptions); runs(): Promise; resume(): void; observe(result: HarnessRunResult): Promise; load(o: unknown, options?: SerializedRunLoadingOptions): Promise; append(history: InspectableRunSequenceEntry[]): Promise; replay(stopAt: NodeIdentifier[]): Promise; } export declare class Run implements InspectableRun { #private; dataStoreKey: string; start: number; end: number | null; graphVersion: number; constructor(timestamp: number, graphStore: MutableGraphStore, graph: GraphDescriptor, options: RunObserverOptions); get events(): InspectableRunEvent[]; get edges(): InspectableRunEdge[]; resume(): void; currentNodeEvent(): InspectableRunNodeEvent | null; stack(): InspectableRunNodeEvent[]; addResult(result: HarnessRunResult): void; serialize(options?: RunSerializationOptions): Promise; getEventById(id: EventIdentifier): InspectableRunEvent | null; inputs(): InspectableRunInputs | null; replay(): AsyncGenerator; reanimationStateAt(id: EventIdentifier, nodeConfig: NodeConfiguration): Promise; } //# sourceMappingURL=run.d.ts.map