import type { SlateEditor } from '@udecode/plate-common'; import type { NodeEntry } from 'slate'; import { Node } from 'slate'; import type { ListsSchema } from '../types'; /** * All children of a "list" have to be "list-items". It can happen (e.g. during pasting) that * this will not be true, so we have to convert all non-"list-item" children of a "list" * into "list-items". */ export declare function normalizeListChildren(editor: SlateEditor, schema: ListsSchema, [node, path]: NodeEntry): boolean;