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