import { WebSocketServer } from 'ws'; /** * Lick system — WebSocket bridge for webhooks/crontasks. All the actual * logic lives in the browser; this bridge is the request/response and * broadcast transport between the CLI's HTTP routes and the connected * browser client(s). */ export interface LickBridge { /** noServer WebSocketServer — the caller wires `/licks-ws` upgrades to it. */ lickWss: WebSocketServer; /** Send a request to the browser and wait for its response. */ sendLickRequest(type: string, data: unknown, timeout?: number): Promise; /** Broadcast an event to all connected browsers (no response expected). */ broadcastLickEvent(event: unknown): void; } export declare function createLickBridge(): LickBridge;