import * as React from 'react'; import { IFloatingSuggestionsHeaderFooterProps } from '../../FloatingSuggestionsComposite/FloatingSuggestionsHeaderFooterItem/FloatingSuggestionsHeaderFooterItem.types'; export interface IUseFloatingSuggestionItems { focusItemIndex: number; setFocusItemIndex: React.Dispatch>; suggestionItems: T[]; setSuggestionItems: React.Dispatch>; footerItemIndex: number; setfooterItemIndex: React.Dispatch>; footerItems: IFloatingSuggestionsHeaderFooterProps[]; setFooterItems: React.Dispatch>; headerItemIndex: number; setHeaderItemIndex: React.Dispatch>; headerItems: IFloatingSuggestionsHeaderFooterProps[]; setHeaderItems: React.Dispatch>; isSuggestionsShown: boolean; showPicker: (show: boolean) => void; selectNextSuggestion: () => void; selectPreviousSuggestion: () => void; getFocusedSuggestion: () => T; hasSuggestionSelected: () => void; removeSuggestion: (index: number) => void; clearPickerSelectedIndex: () => void; queryString: string; setQueryString: (queryString: string) => void; } export declare const useFloatingSuggestionItems: (floatingSuggestionItems: T[], footerSuggestionItems?: IFloatingSuggestionsHeaderFooterProps[] | undefined, headerSuggestionItems?: IFloatingSuggestionsHeaderFooterProps[] | undefined, focusSuggestionIndex?: number | undefined, focusFooterIndex?: number | undefined, focusHeaderIndex?: number | undefined, isSuggestionsVisible?: boolean | undefined, initialQueryString?: string | undefined) => { focusItemIndex: number; setFocusItemIndex: React.Dispatch>; suggestionItems: T[]; setSuggestionItems: React.Dispatch>; footerItemIndex: number; setFooterItemIndex: React.Dispatch>; footerItems: IFloatingSuggestionsHeaderFooterProps[] | undefined; setFooterItems: React.Dispatch>; headerItemIndex: number; setHeaderItemIndex: React.Dispatch>; headerItems: IFloatingSuggestionsHeaderFooterProps[] | undefined; setHeaderItems: React.Dispatch>; isSuggestionsShown: boolean; showPicker: (show: boolean) => void; selectNextSuggestion: () => void; selectPreviousSuggestion: () => void; getFocusedSuggestion: () => T; hasSuggestionSelected: () => boolean; removeSuggestion: (index: number) => void; clearPickerSelectedIndex: () => void; queryString: string; setQueryString: React.Dispatch>; };