import { Component } from 'react'; import { StyleProp, ViewStyle } from 'react-native'; interface ShufflingListProps { data: any; themeColor?: string; contentWidth: number; marginRight: number; itemWidth: number; numberOfLines?: number; itemStyle?: StyleProp; onIndexChange?: (selectIdx: number) => void; } interface ShufflingListState { selectIndex: number; canTouch: boolean; canSet: boolean; move: boolean; } export default class ShufflingList extends Component { static defaultProps: { data: any[]; themeColor: string; contentWidth: number; itemWidth: number; marginRight: number; numberOfLines: number; itemStyle: {}; }; constructor(props: ShufflingListProps); componentDidMount(): void; _panResponder: any; beforeX: number; after: number; refs: any; _handleResponderGrant: (e: any, gestureState: any) => void; _handleResponderRelease: (e: any, gestureState: any) => void; _startScroll: () => void; switchChange: (i: number) => void; _scrollToItem: (i: number) => void; _renderRow: (item: any, index: number) => JSX.Element; _onMomentumScrollEnd: (e: any) => void; renderList: () => JSX.Element; render(): JSX.Element; } export {};