/** * Copyright Aquera Inc 2023 * * This source code is licensed under the BSD-3-Clause license found in the * LICENSE file in the root directory of this source tree. */ import NileElement from '../internal/nile-element'; import type { CSSResultGroup } from 'lit'; import type NileMenuItem from '../nile-menu-item/nile-menu-item'; /** * A nile-side-bar-action-menu element. * @summary Menus provide a list of options for the user to choose from. * * @slot - The menu's content, including menu items, menu labels, and dividers. * * @event nile-select - Emitted when a menu item is selected. * @fires count-changed - Indicates when the count changes * @slot - This element has a slot * @csspart button - The button */ export declare class NileSideBarActionMenu extends NileElement { static styles: CSSResultGroup; searchValue: string; searchWidth: number; searchEnabled: boolean; customSearch: boolean; showNoResults: boolean; allowSpaceKey: boolean; noResultsMessage: string; defaultSlot: HTMLSlotElement; private readonly hasSlotController; connectedCallback(): void; private handleClick; private handleKeyDown; private handleMouseDown; private handleSlotChange; private isMenuItem; getAllItems(): NileMenuItem[]; getCurrentItem(): NileMenuItem | undefined; setCurrentItem(item: NileMenuItem): void; private handleSearchChange; render(): import("lit-html").TemplateResult<1>; } export default NileSideBarActionMenu; declare global { interface HTMLElementTagNameMap { 'nile-side-bar-action-menu': NileSideBarActionMenu; } }