/** * External dependencies */ import * as Y from 'yjs'; import type { Awareness } from 'y-protocols/awareness'; import type { ConnectionStatus } from '../../types'; type LogFunction = (message: string, debug?: object, errorLevel?: 'error' | 'log' | 'warn', force?: boolean) => void; interface PollingManager { registerRoom: (options: RegisterRoomOptions) => void; retryNow: () => void; unregisterRoom: (room: string, options?: { sendDisconnectSignal?: boolean; }) => void; } interface RegisterRoomOptions { room: string; doc: Y.Doc; awareness: Awareness; log: LogFunction; onStatusChange: (status: ConnectionStatus) => void; onSync: () => void; } export declare const pollingManager: PollingManager; export {}; //# sourceMappingURL=polling-manager.d.ts.map