import { AgentSideConnection, type Stream } from "@agentclientprotocol/sdk";
import type { AgentSession } from "../../session/agent-session.js";
export type AcpSessionFactory = (cwd: string) => Promise<AgentSession>;
export declare function createAcpConnection(transport: Stream, createSession: AcpSessionFactory, initialSession?: AgentSession): AgentSideConnection;
export declare function runAcpMode(createSession: AcpSessionFactory, initialSession?: AgentSession): Promise<never>;
