import type { Dispatch, SetStateAction } from 'react'; import type { SelectValue } from '../../NativeSelect/NativeSelect'; import type { SelectProps } from '../CustomSelect'; import type { CustomSelectOptionInterface } from '../types'; interface UseFocusedOptionControllerProps { filteredOptions: SelectProps['options']; scrollToElement: (index: number, center?: boolean) => void; selectedOptionValue: SelectValue; } export interface UseFocusedOptionControllerReturn { focusedOptionValue: SelectValue; setFocusedOptionValue: Dispatch>; focusOptionByIndex: (index: number | undefined, scrollTo: boolean) => void; resetFocusedOption: () => void; focusOption: (type: 'next' | 'prev') => void; selectFocusedValue: () => void; } export declare function useFocusedOptionController({ selectedOptionValue, filteredOptions, scrollToElement, }: UseFocusedOptionControllerProps): UseFocusedOptionControllerReturn; export {}; //# sourceMappingURL=useFocusedOptionController.d.ts.map