import { Node as PMNode } from 'prosemirror-model'; import { EditorState, Transaction } from 'prosemirror-state'; import { ReplaceStep, Step } from 'prosemirror-transform'; import { TrTrackingContext } from './types'; export declare function getIndentationOperationSteps(tr: Transaction, trContext: TrTrackingContext): void; export declare const excludeFromTracking: (node: PMNode) => boolean; export declare function passThroughMeta(oldTr: Transaction, newTr: Transaction): Transaction; export declare function iterationIsValid(iterations: number, oldTr: Transaction, newTr: Transaction, step: Step): boolean; export declare const getMoveOperationsSteps: (tr: Transaction, context: TrTrackingContext) => Map | undefined; export declare const changeMovedToInsertsOnSourceDeletion: (tr: Transaction, newTr: Transaction, trContext: TrTrackingContext) => void; export declare const filterMeaninglessMoveSteps: (tr: Transaction, context: TrTrackingContext) => (Step | null)[]; export declare const trFromHistory: (tr: Transaction) => string | undefined; export declare function clearShadowsFromNewlyInserted(tr: Transaction, baseState: EditorState): Transaction;