import { LitElement } from 'lit'; import '../tooltip'; /** * Overflow Menu Item. * @fires on-click - Captures the click event and emits the original event details.`detail:{ origEvent: PointerEvent }` * @slot unnamed - Slot for menu item text. * @slot submenu - Provide a nested submenu's markup here (light DOM). Presence auto-detects nesting. * @prop {'ai'|'default'|string} kind - Visual variant inherited from parent menu. */ export declare class OverflowMenuItem extends LitElement { static styles: import("lit").CSSResult; /** Makes the item a link. */ accessor href: string; /** Adds destructive styles. */ accessor destructive: boolean; /** Item disabled state. */ accessor disabled: boolean; /** Item description text for screen readers. */ accessor description: string; /** * Has the menu items in the current oveflow menu. * @ignore */ accessor _menuItems: HTMLElement[]; /** * Has the current oveflow menu. * @ignore */ accessor _menu: HTMLElement | null; /** * Tracks if the item content is overflowing and needs a tooltip. * @ignore */ accessor isTruncated: boolean; /** Holds the text content for the title tooltip. * @ignore */ accessor tooltipText: string; /** Kind of the item, derived from parent. * @ignore */ accessor kind: 'ai' | 'default' | (string & {}); /** * Timer id used to debounce opening of nested submenu on hover/focus. * @ignore */ accessor _submenuOpenTimer: number | undefined; private _mo; /** True when a light-DOM submenu exists. */ private get submenuEls(); private get hasSubmenu(); connectedCallback(): void; disconnectedCallback(): void; render(): import("lit-html").TemplateResult<1>; firstUpdated(): void; private handleClick; private handleKeyDown; private checkOverflow; } declare global { interface HTMLElementTagNameMap { 'kyn-overflow-menu-item': OverflowMenuItem; } } //# sourceMappingURL=overflowMenuItem.d.ts.map