import type { NodeWithPos } from '@tiptap/core'; import type { Node, ResolvedPos } from '@tiptap/pm/model'; import type { Selection, Transaction } from '@tiptap/pm/state'; export type ChangeListItemsIndent = (tr: Transaction, listItemsToIndent: NodeWithPos[], parentList: NodeWithPos) => void | boolean; export type ChangeListChildrenIndent = (tr: Transaction, parentList: NodeWithPos) => NodeWithPos[]; export declare const changeIndentationOfEveryListSeparately: (tr: Transaction, changeListChildrenIndent: ChangeListChildrenIndent) => boolean; export declare const changeIndentationOfNotSelectedNodes: (tr: Transaction, notSelectedListItems: NodeWithPos[], changeListItemIndent: ChangeListItemsIndent) => void; export declare const getNotSelectedDescendantListItems: (tr: Transaction, listItemsInSelection: NodeWithPos[]) => NodeWithPos[]; export declare const getListItemsInSelection: (tr: Transaction, parentList: NodeWithPos) => NodeWithPos[]; export declare const getIndentationsInSelection: (tr: Transaction) => { smallestIndentation: number; biggestIndentation: number; }; export declare const getListItemsWithVisibleIndentation: (tr: Transaction) => { node: Node; visibleIndentation: number; pos: number; }[]; export declare const findParentList: ($pos: ResolvedPos) => { pos: number; start: number; depth: number; node: Node; } | undefined; export declare const fixTextSelection: (tr: Transaction, selection: Selection) => void; //# sourceMappingURL=commons.d.ts.map