/**
 * Event Handler
 *
 * Handles OpenCode session events:
 * - session.created, session.deleted, session.error, session.idle
 * - message.updated
 */
import type { EventHandlerContext } from "./interfaces/index.js";
export type { SessionState, OrchestratorState, EventHandlerContext } from "./interfaces/index.js";
/**
 * Create event handler for session events
 */
export declare function createEventHandler(ctx: EventHandlerContext): (input: {
    event: {
        type: string;
        properties?: Record<string, unknown>;
    };
}) => Promise<void>;
