import { Schema } from 'prosemirror-model'; import { Transaction } from 'prosemirror-state'; import { ConverterContext } from '../../core/layout-adapter/converter-context.js'; export type SequenceFieldUpdateScope = { kind: 'all'; } | { kind: 'range'; from: number; to: number; } | { kind: 'identifier'; identifier: string; }; export declare function updateSequenceFieldsInTransaction(args: { tr: Transaction; schema: Schema; scope?: SequenceFieldUpdateScope; converterContext?: ConverterContext; }): { changed: boolean; updated: number; }; export declare function getSequenceFieldUpdaterConverterContext(editor: unknown): ConverterContext | undefined; //# sourceMappingURL=sequence-field-updater.d.ts.map