import type { SlateEditor } from '@udecode/plate-common'; import type { Node } from 'slate'; export type IsPreservedBlock = (editor: SlateEditor, node: Node) => boolean; export declare function withSlatePasting(isPreservedBlock: IsPreservedBlock): (editor: T) => T;