import type { ChorusConfigFile, ModelInfo } from "../types.js"; import { runChorus, type RunChorusArgs } from "../chorus.js"; export interface AgentUiResult { text: string; result: Awaited>; } export declare function runAgentUi(args: { task: string; config: ChorusConfigFile; registry: ModelInfo[]; signal: AbortSignal; presetName?: string; optimizedPrompt?: string; runChorusImpl?: typeof runChorus; onStatus?: (message: string) => void; onProgress?: RunChorusArgs["onProgress"]; } & Pick): Promise;