import * as _angular_core from '@angular/core'; import { InputSignal } from '@angular/core'; import { EuiMenuItem } from '@eui/components/eui-menu'; /** * @description * A sidebar menu component that wraps the EUI menu component. * This component provides a collapsible sidebar navigation menu with various display options. * * @usageNotes * ### Basic usage * ```typescript * menuItems: EuiMenuItem[] = [ * { label: 'Dashboard', icon: 'home', route: '/dashboard' }, * { label: 'Settings', icon: 'settings', route: '/settings' } * ]; * ``` * ```html * * ``` * * ### Collapsed with icons * ```html * * * ``` * * ### With search filter * ```html * * * ``` * * ### Accessibility * - Keyboard navigation with arrow keys and Enter * - Tooltips provide context in collapsed mode * - ARIA labels for screen reader support * - Focus management for nested menu items * * ### Notes * - Use `hasTooltipOnExpanded` to show tooltips even when menu is expanded * - `expandAllItems` opens all nested menu groups on initial render * - `hasBoldRootLevel` emphasizes top-level navigation items * - Filter searches through all menu item labels and nested items */ declare class EuiSidebarMenuComponent { /** * CSS class binding for the host element * @default 'eui-sidebar-menu' */ string: string; /** * The menu items to be displayed * @default [] */ items: InputSignal; /** * Whether to show initials in collapsed mode * @default false */ hasCollapsedInitials: _angular_core.InputSignalWithTransform; /** * Whether the sidebar is collapsed * @default false */ isCollapsed: _angular_core.InputSignalWithTransform; /** * Whether to show a filter input for searching menu items * @default false */ hasFilter: _angular_core.InputSignalWithTransform; /** * Whether to show icons for menu items * @default false */ hasIcons: _angular_core.InputSignalWithTransform; /** * Whether to show tooltips for menu items * @default true */ hasTooltip: _angular_core.InputSignalWithTransform; /** * Whether to show tooltips even when the menu is expanded * @default false */ hasTooltipOnExpanded: _angular_core.InputSignalWithTransform; /** * Whether to initially expand all menu items * @default false */ expandAllItems: _angular_core.InputSignalWithTransform; /** * Whether to make root level menu items bold * @default false */ hasBoldRootLevel: _angular_core.InputSignalWithTransform; /** * Custom inline styles for the sidebar container */ style: InputSignal; /** * ID of the fragment to navigate to */ fragmentId: InputSignal; /** * Label for the search filter input */ searchFilterLabel: InputSignal; /** * Target for external links */ externalTarget: InputSignal; /** * Initial value for the filter input * @default '' */ filterValue: InputSignal; /** * Event emitted when the menu itself is clicked */ menuClick: _angular_core.OutputEmitterRef; /** * Event emitted when a menu item is clicked */ itemClick: _angular_core.OutputEmitterRef>; /** * Handler for menu item click events * @param item The menu item that was clicked */ protected onMenuItemClicked(item: EuiMenuItem): void; /** * Handler for menu click events * @param event Whether the menu was clicked */ protected onMenuClicked(event: boolean): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare const EUI_SIDEBAR_MENU: readonly [typeof EuiSidebarMenuComponent]; export { EUI_SIDEBAR_MENU, EuiSidebarMenuComponent }; //# sourceMappingURL=eui-components-eui-sidebar-menu.d.ts.map