import { LitElement } from 'lit'; import '../textInput'; import '../button'; /** * Search * @fires on-input - Emits the value on text input/clear.`detail:{ origEvent: InputEvent,value: string }` */ export declare class Search extends LitElement { static styles: import("lit").CSSResult; /** Input name. */ accessor name: string; /** Label text. */ accessor label: string; /** Expandable style search. */ accessor expandable: boolean; /** Input value. */ accessor value: string; /** Input & button size. */ accessor size: string; /** Disabled state. */ accessor disabled: boolean; /** Auto-suggest array of strings that should match the current value. Update this array externally after on-input. */ accessor suggestions: Array; /** Auto-suggest history array of strings. Update this array externally after on-input. */ accessor searchHistory: Array; /** Expandable style search button description (Required to support accessibility). */ accessor expandableSearchBtnDescription: string; /** Assistive text strings. */ accessor assistiveTextStrings: { searchSuggestions: string; noMatches: string; selected: string; found: string; recentSearches: string; }; /** To show history searches in suggestion panel */ accessor enableSearchHistory: boolean; /** * Internal assistive text strings. * @internal * */ accessor _assistiveTextStrings: { searchSuggestions: string; noMatches: string; selected: string; found: string; recentSearches: string; }; /** * Assistive text for screen readers. * @internal */ accessor _assistiveText: string; /** Input focused state. * @internal */ accessor _focused: boolean; /** Expanded state. * @internal */ accessor _expanded: boolean; /** Expanded state. * @internal */ accessor _textInput: any; render(): import("lit-html").TemplateResult<1>; private _buttonSizeMap; private _handleFocus; private _handleButtonClick; private _handleInput; private _handleSuggestionClick; private _handleSuggestionWithMouseUp; private _handleSuggestionWithMouseDown; private handleSearchKeydown; private handleListKeydown; private handleKeyboard; private _checkForMatchingSuggestions; willUpdate(changedProps: any): void; private _renderSuggestionContent; private _wrapTextWithSpaces; private _handleClickOut; connectedCallback(): void; disconnectedCallback(): void; } //# sourceMappingURL=search.d.ts.map