/**
 * Handler for agent_session_new messages.
 * Creates a new OpenCode session and sends the first prompt.
 *
 * Uses OpenCode API:
 * - POST /session to create a new session
 * - POST /session/:id/prompt_async to send the first prompt
 *
 * Events are streamed via SSE subscription (not from this handler).
 */
import type { RequestMessage, Message } from "@pocketcoder/shared";
export declare function handleAgentSessionNew(message: RequestMessage, send: (response: Message) => void): Promise<void>;
//# sourceMappingURL=agent-session-new.d.ts.map