import * as http from 'http'; import type { SSEEventType } from '../types.js'; export declare class SSEManager { private heartbeatMs; private connections; private heartbeatInterval; constructor(heartbeatMs?: number); /** Add a new SSE connection */ addConnection(res: http.ServerResponse): void; /** Broadcast event to all connected clients */ broadcast(type: SSEEventType, data: unknown): void; /** Send event to a single connection */ private send; /** Format SSE message */ private formatMessage; /** Start heartbeat timer */ private startHeartbeat; /** Stop heartbeat timer */ private stopHeartbeat; /** Get number of active connections */ get connectionCount(): number; /** Close all connections and stop heartbeat */ closeAll(): void; } //# sourceMappingURL=sse-manager.d.ts.map