import { Mark, Node as ProseMirrorNode, NodeType, ResolvedPos } from 'prosemirror-model'; import { EditorState, Selection, Transaction } from 'prosemirror-state'; declare const isEmptyDoc: (doc: ProseMirrorNode) => boolean; declare const isOriginAttrs: (node: ProseMirrorNode, nodeType?: NodeType) => boolean | undefined; declare const findCutBefore: ($pos: ResolvedPos) => ResolvedPos | null; declare const getPrevNodeLastTextBlock: ($pos: ResolvedPos) => { node: ProseMirrorNode | null | undefined; pos: number; }; declare const removeExcludesMarks: (tr: Transaction) => boolean; declare const getUnInheritAttr: (node: ProseMirrorNode) => string[]; declare const resetUnInheritAttr: (oldState: EditorState, newState: EditorState) => void; declare const getRealSelectionInfo: (selection: Selection) => { from: number; to: number; anchor: number; head: number; }; declare const removeMark: (doc: ProseMirrorNode, tr: Transaction, from: number, to: number) => Transaction; declare const tryReplaceEmpty: (tr: Transaction, $from: ResolvedPos, node: ProseMirrorNode) => boolean; declare const getStoreMarks: (state: EditorState) => Mark[]; declare const validateNodeContent: (parent: ProseMirrorNode, child: ProseMirrorNode) => boolean; declare const getChildTextblockType: (nodeType: NodeType) => NodeType | undefined; export { findCutBefore, getChildTextblockType, getPrevNodeLastTextBlock, getRealSelectionInfo, getStoreMarks, getUnInheritAttr, isEmptyDoc, isOriginAttrs, removeExcludesMarks, removeMark, resetUnInheritAttr, tryReplaceEmpty, validateNodeContent, };