import React from 'react'; import { Animated, ViewStyle, FlatListProps, ListRenderItem } from 'react-native'; export interface PaginationProps { length: number; activeIndex: Animated.AnimatedAddition; onChangeIndex: (index: number) => void; } export type PaginationType = 'dash' | 'dot' | 'line' | 'number'; export interface SwiperRef { scrollToIndex: (index: number) => void; scrollTo: (options: { index: number; animated: boolean; }) => void; } export interface SwiperProps extends Omit, 'data' | 'renderItem' | 'horizontal' | 'pagingEnabled' | 'showsHorizontalScrollIndicator' | 'showsVerticalScrollIndicator' | 'getItemLayout'> { data: T[]; autoplay?: boolean; autoplayInterval?: number; paginationType?: PaginationType; paginationStyle?: ViewStyle; renderItem?: ListRenderItem; itemWidth?: number; onIndexChange?: (index: number) => void; } declare const Swiper: React.ForwardRefExoticComponent & React.RefAttributes>; export default Swiper; //# sourceMappingURL=index.d.ts.map