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