import { type AgentApp } from "@agentclientprotocol/sdk"; export interface AcpAdapterOptions { /** Internal test seam. Production resolves dist/cli.js relative to this module. */ cliPath?: string; provider?: string; model?: string; /** Operator-owned CLI session-dir selection, resolved against each requested child cwd. */ sessionDir?: string; /** Internal test seam; merged into the owned child's environment. */ env?: Record; /** Safe fixed diagnostics only. Never pass child output or request data here. */ diagnostic?: (message: string) => void; startupTimeoutMs?: number; stateTimeoutMs?: number; } export interface AcpAgentAdapter { app: AgentApp; closeAll(): Promise; } export declare function createAcpAgentAdapter(options?: AcpAdapterOptions): AcpAgentAdapter; /** Connect the stable-v1 server to process stdio and own EOF/signal cleanup. */ export declare function runAcpStdioServer(options?: AcpAdapterOptions): Promise;