import type { Extension } from '@prezly/slate-commons'; import type { SlateEditor } from '@udecode/plate-common'; import type { Node } from 'slate'; export interface RichBlocksAwareEditor { isRichBlock(node: Node): boolean; } export declare function withRichBlocks(getExtensions: () => Extension[]): (editor: T) => T & RichBlocksAwareEditor;