import { Instance, VirtualElement } from "@popperjs/core"; import { ComponentOptions } from "../../type"; export declare type InsertMenuItemCallback = (item: ComponentOptions) => void; export interface InsertMenuConstructorOptions { reference: HTMLElement | VirtualElement; boundary: HTMLElement; options: ComponentOptions[]; itemCallback?: InsertMenuItemCallback; onlyText?: boolean; defaultItem?: boolean; } export declare class InsertMenu { instance?: Instance; popper?: HTMLElement; constructorOptions: InsertMenuConstructorOptions; constructor(options: InsertMenuConstructorOptions); private create; hasSubMenu(format: string): boolean; protected addItem(panel: HTMLElement, option: ComponentOptions): HTMLDivElement; show(): void; hide(): void; }