/**
 * Handler for agent_message messages.
 * Sends a message to an existing OpenCode session.
 * If the session is busy, the message is queued (FIFO, max 50).
 *
 * Uses OpenCode API:
 * - POST /session/:id/prompt_async to send the prompt
 *
 * Events are streamed via SSE subscription (not from this handler).
 */
import type { RequestMessage, Message } from "@pocketcoder/shared";
export declare function handleAgentMessage(message: RequestMessage, send: (response: Message) => void): Promise<void>;
//# sourceMappingURL=agent-message.d.ts.map