import type { PromptRunnerHarnessName } from '../../../src/cli/cli-commands/common/promptRunnerCliOptions'; import type { RunOptions } from '../cli/RunOptions'; import type { PromptRunnerMetadata } from '../common/PromptRunnerMetadata'; import type { PromptRunner } from '../runners/types/PromptRunner'; /** * Subset of `RunOptions` which decides which prompt runner is created and how it is labeled. * * Commands that only need one configured harness — such as `ptbk coder ping` — pass just these * fields instead of assembling a complete `RunOptions` for a run they never start. */ export type PromptRunnerSelectionOptions = Pick; /** * Resolved runner setup used by `runCodexPrompts`. */ type PromptRunnerResolution = { runner: PromptRunner; actualRunnerModel?: string; /** * Harness half of the run metadata; the optional Book agent is added by the caller which resolves it. */ runnerMetadata: PromptRunnerMetadata; }; /** * Resolves the configured prompt runner together with status-line metadata. * * @private function of runCodexPrompts */ export declare function resolvePromptRunner(options: PromptRunnerSelectionOptions): PromptRunnerResolution; /** * Uses the current flagship when no model is selected, while preserving explicit overrides. * * `--model default` keeps the harness's own configured model where supported. Gemini, Qwen and Cline * require a concrete model in their adapters, so the sentinel selects their shared default instead. * Read-only previews use the same policy without constructing a harness runner. * * @private internal utility of Coder execution and previews */ export declare function resolveRunnerModel(agentName: PromptRunnerHarnessName, providedModel?: string): string | undefined; export {};