import { LitElement } from 'lit'; import { IconName } from './icons'; /** One action in the menu. */ export interface ActionItem { id: string; label: string; icon?: IconName; danger?: boolean; } /** * A kebab (⋯) menu of actions. Emits `menu-select` ({ id }) when an item is * chosen. Uses fixed positioning computed from the trigger so it isn't clipped * by scrolling ancestors (e.g. the comments list). */ export declare class SfxActionMenu extends LitElement { items: ActionItem[]; label: string; private open; private pos; private triggerEl?; private panelEl?; private usePopover; static styles: import('lit').CSSResult[]; disconnectedCallback(): void; private bind; private unbind; private toggle; private openMenu; private close; private onDocPointerDown; private onWindowChange; private onKeydown; private pick; updated(): void; render(): import('lit-html').TemplateResult<1>; } //# sourceMappingURL=action-menu.d.ts.map