import { IEventDetail, IEventEmitter } from '@breadstone/mosaik-elements'; import { CustomElement } from '../../Abstracts/CustomElement'; import type { IMenuElementProps } from './IMenuElementProps'; declare const MenuElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Insetable").IInsetableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Menu - A vertical list container for presenting navigation options and actionable commands. * * Provides structured menu layouts with support for menu items, dividers, and hierarchical organization. * Handles selection states, keyboard navigation, and accessibility features. Essential for context menus, * navigation menus, and dropdown command lists. * * @name MenuElement * @element mosaik-menu * @category Selectors * * @csspart menu - The main menu container element * @csspart menu-list - Container for menu items and content * * @cssprop {Color} --menu-background-color - Background color of the menu container * @cssprop {Color} --menu-border-color - Border color around the menu * @cssprop {String} --menu-border-radius - Border radius for menu corners * @cssprop {String} --menu-padding - Internal padding of the menu * @cssprop {String} --menu-min-width - Minimum width constraint for the menu * @cssprop {String} --menu-max-height - Maximum height before scrolling * @cssprop {String} --menu-item-height - Standard height for menu items * @cssprop {Color} --menu-divider-color - Color of menu section dividers * * @example * ```html * * * Cut * Copy * Paste * * Delete * * * * * * * Home * * * * Profile * * * * Settings * * * * * * File * * Edit * * Undo * Redo * * * View * * ``` * * @fires activated {ActivatedEvent} - Emitted when a menu item is activated or selected * * @public */ export declare class MenuElement extends MenuElement_base implements IMenuElementProps { private readonly _provider; private readonly _activated; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Called when a menu item is activated. * Provides reference to `IEventDetail` as event detail. * * @public * @readonly * @eventProperty */ get activated(): IEventEmitter; /** * @protected * @template */ onSlotChange(x: Event): void; } /** * @public */ export declare namespace MenuElement { type Props = IMenuElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-menu': MenuElement; } } export {}; //# sourceMappingURL=MenuElement.d.ts.map