import type { Store } from "./storage/interface.js"; import type { RoomMessage } from "./types.js"; export declare function setBotStore(store: Store): void; type SSEWriter = (data: string) => void; export declare function addSseClient(roomId: string, writer: SSEWriter): () => void; type RoomListener = (msg: RoomMessage) => void; export declare function addRoomListener(roomId: string, listener: RoomListener): () => void; type BroadcastListener = (roomId: string, msg: RoomMessage, store: Store) => void; export declare function addBroadcastListener(listener: BroadcastListener): () => void; export declare function cleanupRoomConnections(roomId: string): void; export declare function botNotify(roomId: string, body: string): Promise; export declare function broadcastToRoom(roomId: string, msg: RoomMessage): Promise; export {};