/** * 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 { DOMConversionMap } from 'lexical'; import type { JSX } from 'react'; import { $isHorizontalRuleNode, HorizontalRuleNode as BaseHorizontalRuleNode, INSERT_HORIZONTAL_RULE_COMMAND, type SerializedHorizontalRuleNode } from '@lexical/extension'; export { $isHorizontalRuleNode, INSERT_HORIZONTAL_RULE_COMMAND, type SerializedHorizontalRuleNode, }; /** * @deprecated A pure Lexical implementation is available in `@lexical/extension` as HorizontalRuleExtension */ export declare class HorizontalRuleNode extends BaseHorizontalRuleNode { static getType(): string; static clone(node: HorizontalRuleNode): HorizontalRuleNode; static importJSON(serializedNode: SerializedHorizontalRuleNode): HorizontalRuleNode; static importDOM(): DOMConversionMap | null; decorate(): JSX.Element; } /** * @deprecated A pure Lexical implementation is available in `@lexical/extension` as HorizontalRuleExtension */ export declare function $createHorizontalRuleNode(): HorizontalRuleNode;