import { Editor, EditableToolbar } from "../interface"; import EditorToolbar from "./Toolbar"; export default class EditorEditableToolbar implements EditableToolbar { editor: Editor; currentElement: HTMLElement | null; toolbar: EditorToolbar; constructor(editor: Editor); destroy(): void; hide(): void; isVisible(): boolean; handleMouseMove(event: MouseEvent): boolean; on(event: 'hide' | 'show', callback: (...args: any[]) => void): void; show(element: HTMLElement): void; }