import { EventEmitter } from '../../stencil-public-runtime';
export interface SuggestionItem {
    id: string;
    text: string;
    type?: 'suggestion' | 'history';
    scope?: string;
    resultCount?: number;
    metadata?: any;
}
export declare class SearchField {
    el: any;
    private inputElement;
    private dropdownElement;
    value: string;
    suggestions: SuggestionItem[];
    showSuggestions: boolean;
    maxSuggestions: number;
    maxHistoryItems: number;
    enableHistory: boolean;
    historyKey: string;
    historyHeaderText: string;
    ariaLabel: string | null;
    ariaLabelledBy?: string | null;
    ariaDescribedBy?: string | null;
    deleteIconAriaLabel: string;
    historyDeleteAriaLabel: string;
    dropdownAriaLabel: string;
    suggestionAriaLabel: string;
    historyItemAriaLabel: string;
    ifxInput: EventEmitter<string>;
    ifxSuggestionRequested: EventEmitter<string>;
    ifxSuggestionSelected: EventEmitter<SuggestionItem>;
    ifxFocus: EventEmitter<void>;
    ifxBlur: EventEmitter<void>;
    showDropdown: boolean;
    filteredSuggestions: SuggestionItem[];
    selectedSuggestionIndex: number;
    searchHistory: string[];
    showDeleteIcon: boolean;
    showDeleteIconInternalState: boolean;
    disabled: boolean;
    size: string;
    isFocused: boolean;
    placeholder: string;
    autocomplete: string;
    maxlength?: number;
    private focusEmitted;
    handleOutsideClick(event: MouseEvent): void;
    handleKeyDown(event: KeyboardEvent): void;
    valueWatcher(newValue: string): void;
    suggestionsWatcher(): void;
    handleInput: () => void;
    handleDelete: () => void;
    handleSearch: () => void;
    focusInput(): void;
    blurInput(): void;
    loadSearchHistory(): void;
    clearSearchHistory(): void;
    private addToHistory;
    private removeFromHistory;
    private handleHistoryDelete;
    private requestSuggestions;
    private updateSuggestions;
    private navigateSuggestions;
    private selectSuggestion;
    private hideDropdown;
    private showHistoryDropdown;
    private isShowingOnlyHistory;
    private renderHighlightedText;
    componentWillLoad(): void;
    componentDidLoad(): Promise<void>;
    componentWillUpdate(): void;
    render(): any;
    getSizeClass(): "" | "search-field__wrapper-s";
    getWrapperClassNames(): string;
    getSuggestionClassNames(index: number): string;
}
