import { BasePage } from '../utils.js'; import type { Menu } from './Menu.js'; /** * Abstract element representing a menu item * * @category Menu */ export declare abstract class MenuItem extends BasePage { abstract parentMenu: Menu; abstract 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 | undefined>; /** * Return the Menu object representing the menu this item belongs to * Todo: fix this */ getParent(): Menu; /** * Returns the label of the menu item */ getLabel(): string | Promise; } //# sourceMappingURL=MenuItem.d.ts.map