import type { EditorView } from '../../../tiptap/pm/view';
/**
 * Run `fn` and restore scroll positions of every scrolled ancestor.
 * Avoid `getComputedStyle` here: on a dirty table layout it can force a
 * restyle/layout per ancestor, which is visible at resize commit time.
 */
export declare function preserveScrollDuring(view: EditorView, fn: () => void): void;
//# sourceMappingURL=preserve-scroll.d.ts.map