import type { Editor } from '@tiptap/core'; /** * Reconciles a visible browser text selection before a capture-phase command * snapshots editor state. Selection-change delivery can lag behind a keyboard * shortcut under load, leaving ProseMirror with an older collapsed selection. */ export declare function synchronizeDocumentEditorSelectionFromDom(editor: Editor): boolean;