import { type Attrs, Node as PMNode, type NodeType, ResolvedPos } from 'prosemirror-model'; import { Selection } from 'prosemirror-state'; import type { Command, CommandFactory } from '@kerebron/editor/commands'; export declare function splitListItem(itemType: NodeType, itemAttrs?: Attrs): Command; export declare function liftListItem(itemType: NodeType): Command; export declare function sinkListItem(itemType: NodeType): Command; export declare const clearNodes: CommandFactory; export declare function findParentNodeClosestToPos($pos: ResolvedPos, predicate: Predicate): { pos: number; start: number; depth: number; node: PMNode; } | undefined; export type Predicate = (node: PMNode) => boolean; export declare function findParentNode(predicate: Predicate): (selection: Selection) => { pos: number; start: number; depth: number; node: PMNode; } | undefined; export declare const toggleList: CommandFactory; //# sourceMappingURL=commands.d.ts.map