import { TextToolbar, Editor, BlockElement, CommandStatus } from "../interface"; import EditorToolbar from "./Toolbar"; import Popover from "./Popover"; export default class EditorTextToolbar extends TextToolbar { popover: EditorToolbar; editor: Editor | undefined; currentBlock: BlockElement | null; commandBlock: BlockElement | null; constructor(); destroy(): void; clear(): void; reset(): void; hide(forcedToHide?: boolean): void; isVisible(): boolean; isVisibleForTextBlock(): boolean; isMyPopover(popover: Popover): boolean; handleMouseMove(): boolean; on(event: 'hide' | 'show', callback: (...args: any[]) => void): void; updatePosition(): void; updateStatus(editor: Editor, status: CommandStatus): void; update(editor: Editor, force: boolean): void; }