import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state'; /** * Rebase `currentTr` over `incomingTr` based on the provided `state`. * This function adjusts the steps in `currentTr` to account for the changes made by `incomingTr`. * * @param currentTr - The transaction to be rebased. * @param incomingTr - The transaction that has already been applied to the state. * @param state - The editor state after applying `incomingTr`. * @returns A new transaction that represents `currentTr` rebased over `incomingTr`. */ export declare const rebaseTransaction: (currentTr: Transaction, incomingTr: Transaction, state: EditorState) => Transaction;