import { LitElement } from 'lit'; import { OverflowMenuItem } from './overflowMenuItem'; /** * Overflow Menu. * * Nested selections notify this menu with a new `on-click` event sharing * `detail.origEvent`. Its `composedPath()` excludes the selected item. * Listen on individual items to identify selections; stopping their event * propagation prevents menu notification and automatic closure. * @slot icon - Slot for overflow icon. * @slot unnamed - Slot for overflow menu items. * @fires on-toggle - Capture the open/close event and emits the new state.`detail:{ open: boolean }` * @prop {'ai'|'default'|string} kind */ export declare class OverflowMenu extends LitElement { static styles: import("lit").CSSResult; /** Menu open state. */ accessor open: boolean; /** Menu kind. * @prop {'ai'|'default'|string} kind **/ accessor kind: 'ai' | 'default' | (string & {}); /** Anchors the menu to the right of the button. */ accessor anchorRight: boolean; /** Text displayed in nested menu back button. */ accessor backButtonText: string; /** 3 dots vertical orientation. */ accessor verticalDots: boolean; /** Use fixed instead of absolute position. Useful when placed within elements with overflow scroll. */ accessor fixed: boolean; /** Button assistive text.. */ accessor assistiveText: string; /** Button element * @internal */ accessor _btnEl: any; /** Menu element * @internal */ accessor _menuEl: any; /** * Open drawer upwards. * @ignore */ accessor _openUpwards: boolean; /** * Original items whose submenus form the current navigation path. * @internal */ accessor _menuHistory: OverflowMenuItem[]; /** @internal */ private accessor _itemsChanged; private _onDocClick; private _onDocKeydown; private _onItemClick; private _onOpenSubmenu; render(): import("lit-html").TemplateResult<1>; private _emitToggleEvent; private toggleMenu; private _positionMenu; updated(changedProps: Map): void; private handleClickOut; private handleEscapePress; private handleKeyDown; getMenuItems(): OverflowMenuItem[]; /** Enabled items in the current navigation level. * @internal */ _getCurrentMenuItems(): OverflowMenuItem[]; /** Resynchronize item visibility after slotted content changes. * @internal */ _requestMenuItemsUpdate(): void; willUpdate(changedProps: Map): void; getMenu(): Element | null | undefined; connectedCallback(): void; disconnectedCallback(): void; private handleOpenSubmenu; private goBack; /** @internal */ private _focusCurrentMenu; } declare global { interface HTMLElementTagNameMap { 'kyn-overflow-menu': OverflowMenu; } } //# sourceMappingURL=overflowMenu.d.ts.map