import * as React from 'react'; import type { ISuggestionModel } from '@fluentui/react/lib/Pickers'; import type { ISuggestionsCoreProps } from './Suggestions.types'; import type { JSXElement } from '@fluentui/utilities'; /** * Class when used with SuggestionsStore, renders a basic suggestions control */ export declare class SuggestionsCore extends React.Component, {}> { currentIndex: number; currentSuggestion: ISuggestionModel | undefined; protected _selectedElement: React.RefObject; constructor(suggestionsProps: ISuggestionsCoreProps); /** * Increments the selected suggestion index */ nextSuggestion(): boolean; /** * Decrements the selected suggestion index */ previousSuggestion(): boolean; get selectedElement(): HTMLDivElement | undefined; getCurrentItem(): ISuggestionModel; getSuggestionAtIndex(index: number): ISuggestionModel; hasSuggestionSelected(): boolean; removeSuggestion(index: number): void; deselectAllSuggestions(): void; setSelectedSuggestion(index: number): void; componentDidUpdate(): void; render(): JSXElement; scrollSelected(): void; private _onClickTypedSuggestionsItem; private _onRemoveTypedSuggestionsItem; }