import { IEditorPluginConstructor } from "../../../types/kernel.js"; import { Html } from "../../../node_modules/.pnpm/@types_mdast@4.0.4/node_modules/@types/mdast/index.js"; import { INode } from "../../../editor-kernel/inode/i-node.js"; import "../../../editor-kernel/inode/index.js"; import "../../../types/index.js"; import { MentionNode, SerializedMentionNode } from "../node/MentionNode.js"; import { LexicalEditor } from "lexical"; interface MentionPluginOptions { decorator?: (node: MentionNode, editor: LexicalEditor) => any; markdownReader?: (node: Html, children: INode[]) => SerializedMentionNode | null | false; markdownWriter?: (mention: MentionNode) => string; theme?: { mention?: string; }; } declare const MentionPlugin: IEditorPluginConstructor; export { MentionPlugin, MentionPluginOptions };