import { LitElement } from 'lit'; import { type ValidatorFn } from '../../utils/validators.js'; export interface AutocompleteOption { label: string; value: string; disabled?: boolean; } export declare class UIAutocomplete extends LitElement { static styles: import("lit").CSSResult; options: AutocompleteOption[]; value: string; placeholder: string; debounceTime: number; loading: boolean; disabled: boolean; /** Whether field is required */ required: boolean; /** Error message to display */ error: string; /** Whether to validate on change */ validateOnChange: boolean; /** Custom validators */ validators: ValidatorFn[]; /** * Custom ARIA label for the input */ ariaLabel: string | null; /** * ID of element that describes this autocomplete */ ariaDescribedby: string | null; private _isOpen; private _filteredOptions; private _selectedIndex; private _inputValue; private _debounceTimer?; private inputId; private listboxId; updated(changedProperties: Map): void; /** Validate the autocomplete */ validate(): boolean; /** Reset validation state */ resetValidation(): void; private _filterOptions; private _highlightMatch; private _handleInput; private _selectOption; private _clear; private _handleKeyDown; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ui-autocomplete': UIAutocomplete; } } //# sourceMappingURL=autocomplete.d.ts.map