/**
 * Integration layer between AgentSession and SocketServer
 *
 * Wires up socket server to broadcast agent output and forward client input.
 */
import type { AgentSession } from "../agent-session.js";
export interface AttachableSessionOptions {
    session: AgentSession;
    enabled: boolean;
}
/**
 * Wrap an agent session with a socket server if attachable mode is enabled.
 *
 * Returns cleanup function to stop the socket server.
 */
export declare function makeSessionAttachable(options: AttachableSessionOptions): Promise<() => Promise<void>>;
//# sourceMappingURL=session-integration.d.ts.map