import { CommandItemData, CommandStatus, Editor } from "../interface"; import '../static/css/buttonContainer.css'; export declare type ItemContainerElement = HTMLElement & { __neverUse: 'ItemContainerElement'; }; export declare function createButtonContainer(commandTarget: Node, items: CommandItemData[], onClick?: (event: Event, item: CommandItemData) => void, classNames?: string[]): ItemContainerElement; export declare function createMenuContainer(commandTarget: Node, items: CommandItemData[], onClick?: (event: Event, item: CommandItemData) => void): ItemContainerElement; export declare function updateStatus(editor: Editor, itemContainer: ItemContainerElement, status: CommandStatus): void;