import { TemplateResult, CSSResultArray } from 'lit'; import NileElement from '../../internal/nile-element'; export interface InsertMenuItem { label: string; description?: string; } /** * Generic list popover for "pick one and insert" toolbar actions — used by the * template and merge-field pickers. Emits `wysiwyg-insert-select` { index } and * `wysiwyg-insert-cancel`. Never takes focus, so the editor selection survives. */ export declare class NileWysiwygInsertMenu extends NileElement { open: boolean; heading: string; emptyText: string; items: InsertMenuItem[]; static get styles(): CSSResultArray; private handleKeydown; render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { 'nile-wysiwyg-insert-menu': NileWysiwygInsertMenu; } }