/** * @module gateway/live-broadcast * * A tiny module singleton holding the gateway's client `broadcast` function so * non-RPC code paths (e.g. the OpenAI-compatible HTTP handler that backs the * Direct-mode voice bridge) can push a LIVE event to connected clients — * terminal/TUI, web — without threading the gateway request context through. * * The real broadcast is installed once at gateway bootstrap (server.impl.ts), * next to `bindSessionBroadcaster`. Before that (or after close) calls are * silently dropped, so importing this never forces a particular start order. */ type BroadcastFn = (event: string, payload: unknown, opts?: { dropIfSlow?: boolean; }) => void; export declare function setLiveBroadcast(fn: BroadcastFn | null): void; export declare function liveBroadcast(event: string, payload: unknown, opts?: { dropIfSlow?: boolean; }): void; export {};