import type { SlateEditor } from '@udecode/plate-common'; import type { Location } from 'slate'; import type { ListsSchema } from '../types'; /** * Collapses the current selection (by removing everything in it) and if the cursor * ends up in a "list-item" node, it will break that "list-item" into 2 nodes, splitting * the text at the cursor location. * * @returns {boolean} True, if the editor state has been changed. */ export declare function splitListItem(editor: SlateEditor, schema: ListsSchema, at?: Location | null): boolean;