/**
 * WebSocket Handler
 *
 * WebSocket connection management for interactive terminals.
 */
import type { EntityId } from '@stoneforge/core';
import type { Services } from './services.js';
import type { ServerWebSocket, WSClientData } from './types.js';
export declare function notifyClientsOfNewSession(agentId: EntityId, session: {
    id: string;
    mode: 'headless' | 'interactive';
}, events: import('events').EventEmitter): void;
export declare function handleWSOpen(ws: ServerWebSocket<WSClientData>): void;
export declare function handleWSMessage(ws: ServerWebSocket<WSClientData>, message: string | Buffer, services: Services): void;
export declare function handleWSClose(ws: ServerWebSocket<WSClientData>): void;
//# sourceMappingURL=websocket.d.ts.map