import React from 'react'; type State = { searchValue: string; resolvedSearchValue: string; isOpen: boolean; highlightedIndex: number; scrollToHighlighted: boolean; }; type Action = string; type Updater = (state: State) => State; export declare function useHoistedState(initialState: State): [State, (updater: Updater, action: Action) => void]; type ScrollToIndexFunctionType = (optionIndex: number, dropdownRef: React.MutableRefObject, optionsRefs: React.RefObject[], onFailure: () => void) => void; export declare const scrollToIndex: ScrollToIndexFunctionType; export {};