import type { RoomState } from "./api.js"; /** * Watches a room until it is deleted server-side (update of `null`), the * signal aborts, or an unrecoverable error occurs. Resolves when watching ends. */ export declare function watchRoom(baseUrl: string, roomCode: string, onUpdate: (state: RoomState | null) => void, signal: AbortSignal): Promise;