/** * @license * Copyright 2024 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { InputValues, InspectableRunObserver, InspectableRunSequenceEntry, Kit, MutableGraphStore, OutputValues, RunStore } from "@google-labs/breadboard"; import { GraphLoader, HarnessRunner, RunConfig, RuntimeFlagManager } from "@breadboard-ai/types"; import { Result, Tab, TabId } from "./types"; import * as BreadboardUI from "@breadboard-ai/shared-ui"; import { BoardServerAwareDataStore } from "@breadboard-ai/board-server-management"; import { StateManager } from "./state"; export declare class Run extends EventTarget { #private; readonly graphStore: MutableGraphStore; readonly dataStore: BoardServerAwareDataStore; readonly runStore: RunStore; readonly state: StateManager; readonly flags: RuntimeFlagManager; interactiveMode: boolean; constructor(graphStore: MutableGraphStore, dataStore: BoardServerAwareDataStore, runStore: RunStore, state: StateManager, flags: RuntimeFlagManager); create(tab: Tab, topGraphObserver: BreadboardUI.Utils.TopGraphObserver, runObserver?: InspectableRunObserver): void; clearLastRun(tabId: TabId | null, urlToClear: string | undefined): Promise; /** * Used for diagnostics/debugging/demo purposes only. */ get current(): HarnessRunner | undefined; getRunner(tabId: TabId | null): HarnessRunner | null; getAbortSignal(tabId: TabId | null): AbortController | null; getObservers(tabId: TabId | null): { topGraphObserver: BreadboardUI.Utils.TopGraphObserver | undefined; runObserver: InspectableRunObserver | undefined; } | null; runBoard(tab: Tab, config: RunConfig, history?: InspectableRunSequenceEntry[]): Promise; invokeSideboard(kits: Kit[], url: string, loader: GraphLoader, inputs: InputValues, settings: BreadboardUI.Types.SettingsStore | null): Promise>; } //# sourceMappingURL=run.d.ts.map