import { Attrs, Fragment, Mark, Node as ProsemirrorNode } from 'prosemirror-model'; import { TrackedAttrs } from '../types/change'; export declare function isDeleted(node: ProsemirrorNode | Mark): boolean; export declare function isPendingInsert(node: ProsemirrorNode): boolean; export declare function isPending(node: ProsemirrorNode): boolean; export declare function isPendingSetAttrs(node: ProsemirrorNode): boolean; export declare function getChangeClasses(dataTracked?: TrackedAttrs[]): string[]; export declare function isTracked(node: ProsemirrorNode | Mark): boolean; export declare function isDeletedText(node: ProsemirrorNode): boolean; export declare function getActualTextContent(fragment: Fragment): string; export declare function sanitizeAttrsChange(newAttr: T['attrs'], currentAttrs: T['attrs']): T["attrs"]; export declare const addTrackChangesAttributes: (attrs: Attrs, dom: Element) => void; export declare const addTrackChangesClassNames: (attrs: Attrs, dom: Element) => void;