import type { LexicalEditor } from 'lexical';
import type { CollaborationConfig } from '../types';
/**
 * Register Yjs collaborative editing support.
 * Enables real-time collaboration using Yjs CRDT.
 *
 * Note: This plugin requires the `yjs` package to be installed as a peer dependency.
 */
export declare function registerYjsPlugin(editor: LexicalEditor, config: CollaborationConfig): Promise<() => void>;
