import { Ancestor } from 'slate'; import { DOMEditor, DOMEditorInterface } from '../../slate-dom/index.ts'; /** * A Reactive and DOM-specific version of the `Editor` interface. */ export interface ReactiveEditor extends DOMEditor { /** * Determines the chunk size used by the children chunking optimization. If * null is returned (which is the default), the chunking optimization is * disabled. */ getChunkSize: (node: Ancestor) => number | null; } export type ReactiveEditorInterface = DOMEditorInterface; export declare const ReactiveEditor: ReactiveEditorInterface;