import { Component } from 'react'; import type { ImageStyle, ImageURISource, StyleProp, TextStyle, ViewStyle } from 'react-native'; export interface ProductCarouselBlockProps { source: ImageURISource; resizeMode?: any; resizeMethod?: any; items: any; options: any; ratio?: string; useRatio?: boolean; imageFormat?: string; baseUrl: string; deepLinkUrl?: string; pageCounter?: boolean; imageStyle?: StyleProp; containerStyle?: any; pageCounterStyle?: StyleProp; pageNumberStyle?: StyleProp; priceStyle?: StyleProp; titleStyle?: StyleProp; animateIndex?: number; onBack?: () => void; } export interface ProductCarouselBlockState { products: any[]; sliderActiveSlide: number; loading: boolean; } export default class ProductCarouselBlock extends Component { constructor(props: ProductCarouselBlockProps); private readonly network; _slider1Ref: any | null; private fetchProduct; private fetchProducts; private readonly _renderItem; private horizontalMarginPadding; private calculateSliderWidth; private calculateItemWidth; private readonly onSnapToItem; private createCarousel; componentDidMount(): Promise; render(): JSX.Element; }