import type { SlateEditor } from '@udecode/plate-common'; import type { Location } from 'slate'; import type { ListsSchema, ListType } from '../types'; /** * All nodes matching `isConvertibleToListTextNode()` in the current selection * will be converted to list items and then wrapped in lists. * * @see ListsSchema.isConvertibleToListTextNode() */ export declare function wrapInList(editor: SlateEditor, schema: ListsSchema, listType: ListType, at?: Location | null): boolean;