import { MutableRefObject } from 'react'; import { Animated } from 'react-native'; export declare type ScrollableView = { scrollTo: (params: { x?: number; y?: number; animated?: boolean; }) => void; scrollToOffset?: never; }; declare type ScrollableList = { scrollTo?: never; scrollToOffset: (params: { offset: number; animated?: boolean; }) => void; }; export declare type ScrollElement = ScrollableView | ScrollableList; export declare type ScrollRef = MutableRefObject | MutableRefObject; export declare type ControlProps = { initialIndex: number; index: Animated.Value; floatIndex: Animated.Value; setIndex: (nextIndex: number) => void; labels: string[]; }; export declare type SetIndex = (nextIndex: number, _currentIndex?: number, _syncOnly?: boolean) => void; export {};