/** * 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 { IntentionallyMarkedAsDirtyElement, LexicalEditor } from './LexicalEditor'; import type { EditorState } from './LexicalEditorState'; import type { NodeKey } from './LexicalNode'; export declare function $garbageCollectDetachedDecorators(editor: LexicalEditor, pendingEditorState: EditorState): void; export declare function $garbageCollectDetachedNodes(prevEditorState: EditorState, editorState: EditorState, dirtyLeaves: Set, dirtyElements: Map): void;