/// import { BaseComponent } from '../../../Utilities'; import { ISuggestionModel } from '../../../Pickers'; import { ISuggestionsCoreProps } from './Suggestions.types'; /** * Class when used with SuggestionsStore, renders a basic suggestions control */ export declare class SuggestionsCore extends BaseComponent, {}> { currentIndex: number; currentSuggestion: ISuggestionModel | undefined; protected _selectedElement: HTMLDivElement; private SuggestionsItemOfProperType; constructor(suggestionsProps: ISuggestionsCoreProps); /** * Increments the selected suggestion index */ nextSuggestion(): boolean; /** * Decrements the selected suggestion index */ previousSuggestion(): boolean; readonly selectedElement: HTMLDivElement | undefined; getCurrentItem(): ISuggestionModel; getSuggestionAtIndex(index: number): ISuggestionModel; hasSuggestionSelected(): boolean; removeSuggestion(index: number): void; deselectAllSuggestions(): void; setSelectedSuggestion(index: number): void; componentDidUpdate(): void; render(): JSX.Element; scrollSelected(): void; private _onClickTypedSuggestionsItem(item, index); private _onRemoveTypedSuggestionsItem(item, index); }