/** * Find field annotations that were removed by a transaction. * * Inspects the transaction's `ReplaceStep`s against `tr.before` and * returns annotations whose positions were deleted (and that didn't * reappear elsewhere in `tr.doc` under the same `fieldId`). * * Skips when: * - the transaction has no steps, * - it carries unexpected meta keys, * - it's an undo / redo / drop / fieldAnnotationUpdate / tableGeneration tx. * * @param {import('./types.js').Transaction} tr - The transaction to inspect. * @returns {import('./types.js').FieldAnnotationEntry[]} Removed * `{ node, pos }` entries. Empty array when nothing was removed or the * transaction is skipped. */ export function findRemovedFieldAnnotations(tr: import('./types.js').Transaction): import('./types.js').FieldAnnotationEntry[]; //# sourceMappingURL=findRemovedFieldAnnotations.d.ts.map