import { Schema } from 'prosemirror-model'; import { Transaction } from 'prosemirror-state'; import { Mapping } from 'prosemirror-transform'; import { IncompleteChange, TrackedAttrs, TrackedChange } from '../types/change'; export declare function updateChangeAttrs(tr: Transaction, change: IncompleteChange, trackedAttrs: Partial, schema: Schema): Transaction; export declare function updateChangeChildrenAttributes(changes: TrackedChange[], tr: Transaction, mapping: Mapping): void; export declare function restoreNode(tr: Transaction, node: any, pos: number, schema: Schema): void;