import type { TFlatListItem, TSectionListItem } from '../types/index.types'; interface UseIndexOfSelectedItemProps { options: (TFlatListItem | TSectionListItem)[]; optionLabel: string; isSectionList: boolean; } /** * * @description for scrollToIndex in Sectionlist and Flatlist */ export declare const useIndexOfSelectedItem: ({ options, optionLabel, isSectionList, }: UseIndexOfSelectedItemProps) => { listIndex: { sectionIndex?: number; itemIndex: number; }; setListIndex: import("react").Dispatch>; setIndexOfSelectedItem: (selectedLabel: string) => void; }; export {}; //# sourceMappingURL=use-index-of-selected-item.d.ts.map