export interface EditorSyncOptions { /** WebSocket URL for real-time sync */ wsUrl?: string; /** Document ID for collaborative editing */ documentId?: string; /** User ID */ userId?: string; /** Enable offline support */ enableOffline?: boolean; /** Sync interval in ms */ syncInterval?: number; } export interface EditorSyncState { isConnected: boolean; isOnline: boolean; lastSync: Date | null; pendingChanges: number; collaborators: Collaborator[]; } export interface Collaborator { id: string; name: string; color: string; cursor?: { line: number; column: number; }; } export declare const useEditorSync: ({ wsUrl, documentId, userId, enableOffline, syncInterval: _syncInterval, }?: EditorSyncOptions) => { isConnected: boolean; isOnline: boolean; lastSync: Date | null; pendingChanges: number; collaborators: Collaborator[]; sendChange: (change: any) => void; syncPendingChanges: () => Promise; }; //# sourceMappingURL=use-editor-sync.d.ts.map