import { WebSocketServer } from 'ws'; import type { Server } from 'node:http'; import { type CortexConfig } from '@cortex/core'; export interface EventRelayHandle { wss: WebSocketServer; broadcast: (type: string, payload: unknown) => void; close: () => void; } export declare function createEventRelay(server: Server, config?: CortexConfig, host?: string): EventRelayHandle; //# sourceMappingURL=event-relay.d.ts.map