import type { ISuggestionModel } from './Suggestions.types'; /** * {@docCategory Pickers} */ export declare class SuggestionsController { currentIndex: number; currentSuggestion: ISuggestionModel | undefined; suggestions: ISuggestionModel[]; constructor(); updateSuggestions(newSuggestions: T[], selectedIndex?: number, maxCount?: number): void; /** * Increments the suggestion index and gets the next suggestion in the list. */ nextSuggestion(): boolean; /** * Decrements the suggestion index and gets the previous suggestion in the list. */ previousSuggestion(): boolean; getSuggestions(): ISuggestionModel[]; getCurrentItem(): ISuggestionModel; getSuggestionAtIndex(index: number): ISuggestionModel; hasSelectedSuggestion(): boolean; removeSuggestion(index: number): void; createGenericSuggestion(itemToConvert: ISuggestionModel | T): void; convertSuggestionsToSuggestionItems(suggestions: Array | T>): ISuggestionModel[]; deselectAllSuggestions(): void; setSelectedSuggestion(index: number): void; private _isSuggestionModel; private _ensureSuggestionModel; }