import { Component } from 'react'; import { ImageStyle, ImageURISource, StyleProp, TextStyle, ViewStyle } from 'react-native'; import 'pure-react-carousel/dist/react-carousel.es.css'; interface Autoplay { autoplayDelay: string; autoplayInterval: string; } import { CardProps } from '../types'; export interface ImageCarouselBlockProps extends CardProps { source: ImageURISource; resizeMode?: any; resizeMethod?: any; items: any; options: any; ratio?: string; useRatio?: boolean; pageCounter?: boolean; imageStyle?: StyleProp; containerStyle?: any; headerStyle?: StyleProp; textStyle?: StyleProp; additionalStyle?: StyleProp; cardContainerStyle?: ViewStyle; pageCounterStyle?: StyleProp; pageNumberStyle?: StyleProp; pagination?: any; autoplay?: Autoplay; loop?: boolean; } export interface ImageCarouselBlockState { width?: number; height?: number; sliderActiveSlide: number; overallHeight: number; } export default class ImageCarouselBlock extends Component { _slider1Ref: any | null; constructor(props: ImageCarouselBlockProps); shouldComponentUpdate(nextProps: ImageCarouselBlockProps, nextState: ImageCarouselBlockState): boolean; _renderItem(data: any, index: number): JSX.Element; parentCardStyles(): number; horizontalMarginPadding(): number; calculateSliderWidth(): number; calculateItemWidth(): number; createCarousel(): JSX.Element; render(): JSX.Element; } export {};