import { AbstractElement } from "../AbstractElement"; import { Menu } from "./Menu"; /** * Abstract element representing a menu item */ export declare abstract class MenuItem extends AbstractElement { protected parent: Menu; protected label: string; /** * Use the given menu item: Opens the submenu if the item has children, * otherwise simply click the item. * * @returns Menu object representing the submenu if the item has children, void otherwise. */ select(): Promise