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