import { UiElement } from '../shared/element.js'; import type { ExpandedDetail } from '../shared/events.js'; /** * Carbon `SideNavMenu`: a collapsible group of ``s with a title, optional * icon and chevron. Shows as active (bar + bold) while collapsed if a child is `current`. * * @slot - `` elements * @slot icon - 16px icon * @fires ui-toggle - detail: { expanded } * @csspart trigger - The title button * @csspart menu - The list of items * @cssprop --ui-nav-item-inset / --ui-nav-item-radius / --ui-nav-current-* - As on `` */ export declare class UiSideNavMenu extends UiElement { static readonly shadowRootOptions: ShadowRootInit; static readonly styles: import("lit").CSSResult; label: string; expanded: boolean; large: boolean; private readonly slots; private readonly menuId; connectedCallback(): void; protected updated(changed: Map): void; render(): import("lit-html").TemplateResult<1>; } export interface UiSideNavMenuEventMap extends HTMLElementEventMap { 'ui-toggle': CustomEvent; } /** Typed listeners for UiSideNavMenu's events (declaration merging with the class). */ export interface UiSideNavMenu { addEventListener(type: K, listener: (this: UiSideNavMenu, event: UiSideNavMenuEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: UiSideNavMenu, event: UiSideNavMenuEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare global { interface HTMLElementTagNameMap { 'ui-side-nav-menu': UiSideNavMenu; } }