import { Client } from "magicbell-js/user-client"; import { Collection } from "tinycoll"; type Options = { client: Client; socketUrl?: string; }; type Event = { id: string; name: string; data: { id: string; [key: string]: unknown; }; }; export declare class RealtimeStore extends Collection { #private; constructor(options: Options); listen(filter: Parameters["find"]>[0], cb: (event: Event) => void): void; } export {};