import type { ClassMap } from "@ui5/webcomponents-base/dist/types.js"; import MenuItem from "@ui5/webcomponents/dist/MenuItem.js"; import type SideNavigationItemDesign from "./types/SideNavigationItemDesign.js"; import type SideNavigationSelectableItemBase from "./SideNavigationSelectableItemBase.js"; /** * @class * * ### Overview * * `ui5-navigation-menu-item` is the item to use inside a `ui5-navigation-menu`. * An arbitrary hierarchy structure can be represented by recursively nesting navigation menu items. * * ### Usage * * `ui5-navigation-menu-item` represents a node in a `ui5-navigation-menu`. The navigation menu itself is rendered as a list, * and each `ui5-navigation-menu-item` is represented by a list item in that list. Therefore, you should only use * `ui5-navigation-menu-item` directly in your apps. The `ui5-li` list item is internal for the list, and not intended for public use. * * ### ES6 Module Import * * `import "@ui5/webcomponents-fiori/dist/NavigationMenuItem.js";` * @constructor * @extends MenuItem * @since 1.22.0 * @private */ declare class NavigationMenuItem extends MenuItem { /** * Defines the link target URI. Supports standard hyperlink behavior. * If a JavaScript action should be triggered, * this should not be set, but instead an event handler * for the `click` event should be registered. * @public * @default undefined * @since 1.22.0 */ href?: string; /** * Defines the component target. * * **Notes:** * * - `_self` * - `_top` * - `_blank` * - `_parent` * - `_search` * * **This property must only be used when the `href` property is set.** * @public * @default undefined * @since 1.22.0 */ target?: string; design: `${SideNavigationItemDesign}`; associatedItem?: SideNavigationSelectableItemBase; get isExternalLink(): boolean | "" | undefined; get _href(): string | undefined; get _accInfo(): { role: import("@ui5/webcomponents-base/dist/types.js").AriaRole; ariaHaspopup?: `${import("@ui5/webcomponents-base/dist/types.js").AriaHasPopup}`; ariaKeyShortcuts?: string; ariaExpanded?: boolean; ariaHidden?: boolean; ariaChecked?: boolean; ariaLevel?: number; ariaLabel: string; ariaLabelRadioButton: string; ariaSelectedText?: string; posinset?: number; setsize?: number; ariaSelected?: boolean; listItemAriaLabel?: string; ariaOwns?: string; tooltip?: string; }; get classes(): ClassMap; _onclick(e: MouseEvent): void; _activate(e: MouseEvent | KeyboardEvent): void; _onkeydown(e: KeyboardEvent): Promise; _onkeyup(e: KeyboardEvent): void; get acessibleNameText(): string; } export default NavigationMenuItem;