import { Range } from 'slate'; import type { RichTextEditor } from '../../../text-editor/types'; /** * unwrapNode will remove a node's wrapping element for a given editor selection. * This can be done for either link or DTR wrappers. */ export declare const unwrapNode: (editor: RichTextEditor, selection: Range | null, type: 'link' | 'dtr') => void;