import type { WebSocket } from 'ws'; export interface FleetEvent { eventId: string; at: string; roleId?: string; kind: string; payload: unknown; } export declare class FleetEventBus { private readonly events; private readonly clients; publish(kind: string, payload: unknown, roleId?: string): FleetEvent; attach(socket: WebSocket, lastEventId?: string): () => void; close(): void; }