import type { SlateEditor } from '@udecode/plate-common'; import type { Path, Range } from 'slate'; export declare function restoreSelection(editor: SlateEditor, selection: Path | Range): void;