import { HocuspocusProvider } from '@hocuspocus/provider';
import * as awarenessProtocol from "y-protocols/awareness";
import * as Y from 'yjs';
export declare const rooms: Map<string, {
    provider: HocuspocusProvider;
    doc: Y.Doc;
    awareness: awarenessProtocol.Awareness;
}>;
export declare function connect(url?: string, room?: string): {
    provider: HocuspocusProvider;
    doc: Y.Doc;
    awareness: awarenessProtocol.Awareness;
};
