import type { ScrollViewProps, StyleProp, ViewStyle } from 'react-native'; import { SharedValue } from 'react-native-reanimated'; export type CarouselProps = { style?: StyleProp; data: T[]; initialPage?: number; loop?: boolean; additionalPagesPerSide?: number; autoPlay?: boolean; duration?: number; animation?: 'parallax'; sliderWidth?: number; itemWidth?: number; firstItemAlignment?: 'start' | 'center'; inactiveOpacity?: number; inactiveScale?: number; spaceBetween?: number; spaceHeadTail?: number; animatedPage?: SharedValue; scrollViewProps?: ScrollViewProps; renderItem: (data: { item: T; index?: number; }, animatedData?: { scrollPosition?: SharedValue; offset?: number; }) => React.ReactNode; onPageChange?: (index: number) => void; keyExtractor?: (item: T, index?: number) => string; onItemPress?: (item: T, index?: number) => void; disableItemPress?: boolean; scrollViewRef?: any; }; export type CarouselHandles = { goNext(): void; goPrev(): void; snapToItem(index: number, animated?: boolean): void; }; export type CarouselContextType = { goNext(): void; goPrev(): void; snapToItem(index: number, animated?: boolean): void; currentPage: SharedValue; totalPage: SharedValue; }; export type CarouselContextInternalType = { setCarouselHandlers: (handlers: any) => void; }; export type AnimatorProps = { animatedValue: SharedValue; offset: number; freeze: SharedValue; itemWidth: number; }; export type PaginationProps = { containerStyle?: StyleProp; indicatorStyle?: Omit, 'width'>; activeIndicatorStyle?: Omit, 'width'>; indicatorConfigs?: IndicatorConfigs; }; export type IndicatorConfigs = { indicatorColor?: string; indicatorWidth?: number; indicatorSelectedColor?: string; indicatorSelectedWidth?: number; spaceBetween?: number; }; //# sourceMappingURL=types.d.ts.map