/** * Drop a WebSocket client from the live registry only if the map still * points at *this* connection. After a get-history rekey, a new socket * owns `threadId`; the old socket's close/error must not wipe that entry * or terminal `done` / `run-finish` frames are lost and the SPA stays * stuck on Running. */ export declare function unregisterClientIfCurrent(clients: Map, id: string, client: T): boolean; //# sourceMappingURL=unregister-client.d.ts.map