/** * @license * Copyright 2024 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { HarnessObserver, HarnessRunner, HarnessRunResult, RunConfig, RunEventTarget } from "@breadboard-ai/types"; import { InputValues, Schema } from "@breadboard-ai/types"; declare const AbstractRunner_base: RunEventTarget; export declare abstract class AbstractRunner extends AbstractRunner_base implements HarnessRunner { #private; readonly config: RunConfig; /** * Initialize the runner. * This does not start the runner. * * @param config -- configuration for the run */ constructor(config: RunConfig); addObserver(observer: HarnessObserver): void; secretKeys(): string[] | null; inputSchema(): Schema | null; running(): boolean; protected abstract getGenerator(): AsyncGenerator; run(inputs?: InputValues): Promise; } export {}; //# sourceMappingURL=abstract-runner.d.ts.map