import { EventEmitter } from '../../stencil-public-runtime'; /** * Command root component - command palette for navigation * * @slot - Command input, list, and other children * * @part command - The main container */ export declare class SekiCommand { el: HTMLElement; /** * Controlled search value */ value: string; /** * Enable built-in filtering */ filter: boolean; /** * Internal search value */ _value: string; /** * Currently highlighted item index */ _highlightedIndex: number; /** * Emitted when search value changes */ sekiValueChange: EventEmitter; /** * Emitted when an item is selected */ sekiSelect: EventEmitter; /** * Internal: notifies command parts (input, items, groups, empty state) that * `_commandContext` changed. Not part of the public API; listen to * `sekiValueChange` instead. */ commandContextChange: EventEmitter; /** Republishes when items are added, removed or relabelled after mount. */ private itemObserver?; valueChanged(newValue: string): void; filterChanged(): void; connectedCallback(): void; disconnectedCallback(): void; componentWillLoad(): void; componentDidLoad(): void; handleInputChange(event: CustomEvent): void; handleItemSelect(event: CustomEvent): void; /** * Move the highlight to a hovered item so the mouse and the arrow keys drive * the same cursor (matches cmdk / shadcn's Command). */ handleItemHighlight(event: CustomEvent): void; handleKeyDown(event: KeyboardEvent): void; private getAllItems; /** * Whether an item matches the current search. Computed from the item's host * (text + `keywords`) rather than by calling methods on it: the item's plain * class methods do not exist on the host element in the lazy-loaded build, * which is why filtering never happened there before #323. */ private matchesItem; private isItemDisabled; private getVisibleItems; private resetHighlight; private updateHighlight; private getContext; private updateContext; render(): any; }