/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import type { LexicalEditor } from './LexicalEditor.js'; export declare function getIsProcessingMutations(): boolean; /** * Revert the DOM changes the observer has recorded but not reported yet. * With `ifRecorded` nothing runs when there are none, for a commit that is * about to disconnect the observer, which drops them: a change made inside an * update, or in the same task as an update whose commit was queued first. */ export declare function flushRootMutations(editor: LexicalEditor, rerenderText?: boolean, ifRecorded?: boolean): void; export declare function initMutationObserver(editor: LexicalEditor): void;