import type { PromptRunOptions } from '../types/PromptRunOptions'; import type { PromptRunResult } from '../types/PromptRunResult'; import type { PromptRunner } from '../types/PromptRunner'; import type { OpencodeRunnerOptions } from './OpencodeRunnerOptions'; /** * Runs prompts via the Opencode CLI. */ export declare class OpencodeRunner implements PromptRunner { private readonly options; /** TEAM uses this harness's existing command tool, with the same permissions as its caller. */ readonly teamCapability: "command-tools"; readonly name = "opencode"; /** * Creates a new Opencode runner. */ constructor(options: OpencodeRunnerOptions); /** * Runs the prompt using Opencode and parses usage output. */ runPrompt(options: PromptRunOptions): Promise; }