import { TemplateResult, CSSResultArray } from 'lit'; import NileElement from '../../internal/nile-element'; export interface SuggestItem { key: string; label: string; /** Secondary text shown right-aligned (e.g. slash-command hint). */ hint?: string; } /** * Keyboard-navigable suggestion popup shared by mentions and slash commands. * The host positions it, feeds `items`, and drives navigation through * next()/prev()/selectCurrent(); picking an item emits * `wysiwyg-suggest-select` with the item. */ export declare class NileWysiwygSuggestList extends NileElement { open: boolean; items: SuggestItem[]; private activeIndex; static get styles(): CSSResultArray; protected willUpdate(): void; protected updated(changed: Map): void; next(): void; prev(): void; resetActive(): void; selectCurrent(): boolean; render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { 'nile-wysiwyg-suggest-list': NileWysiwygSuggestList; } }