import { IButtonMenu, IDomEditor } from '@wangeditor/editor'; declare class MyButtonMenu implements IButtonMenu { title: string; tag: string; alwaysEnable: boolean; constructor(); getValue(editor: IDomEditor): string | boolean; isActive(editor: IDomEditor): boolean; isDisabled(editor: IDomEditor): boolean; exec(editor: IDomEditor, value: string | boolean): Promise; } export default MyButtonMenu;