export declare type CustomText = { bold?: boolean; italic?: boolean; code?: boolean; text: string; }; export declare type MentionElement = { type: 'mention'; character: string; children: CustomText[]; }; export declare const value2html: (value: Node[]) => Promise; export declare const insertMention: (editor: any, character: any, text?: string | undefined) => void;