import type { AgentRuntimeConfig, AgentRuntimeEvent } from '../../runs/AgentRuntimeTypes'; interface AgentRuntimeRunInput { threadId: string; prompt: string; config: AgentRuntimeConfig; } /** * Request-scoped ACP Agent Runtime. * * This class intentionally keeps no per-thread runner/session map. Durable * conversation state belongs in the Pod; each invocation starts an ACP runner, * creates one ACP session, streams events, then stops the runner. */ export declare class AcpAgentRuntime { private readonly options; private readonly logger; private readonly git; private readonly codexProjector; constructor(options?: { worktreeRootDirName?: string; }); run(input: AgentRuntimeRunInput): AsyncIterable; private createSession; private runPrompt; private isRuntimeHandledRequest; private resolveWorkdir; private canResolveFileWorkspace; private resolveAcpRunnerType; private resolveRunnerArgv; private resolveLocalBin; private buildRunnerEnv; private getIsolatedHomeDir; private convertMcpServersForAcp; private extractTextDeltaFromSessionUpdate; private extractTextFromPromptResult; private extractAuthUrl; private extractAuthOptions; private formatError; } export {};