import { Ancestor } from '../../slate/index.ts'; import { Key } from '../utils/key'; import { DOMEditor } from '../plugin/dom-editor'; import { ChunkTree } from './types'; export declare const KEY_TO_CHUNK_TREE: WeakMap; /** * Get or create the chunk tree for a Slate node * * If the reconcile option is provided, the chunk tree will be updated to * match the current children of the node. The children are chunked * automatically using the given chunk size. */ export declare const getChunkTreeForNode: (editor: DOMEditor, node: Ancestor) => ChunkTree;