import React from 'react'; import type { LayoutChangeEvent, StyleProp, ViewStyle } from 'react-native'; export type CardCarouselHandles = { snapToIndex: (index: number) => void; }; export interface CardCarouselProps { /** * Whether to scroll automatically. */ autoPlay?: boolean; /** * Set interval of each slide. */ autoPlayInterval?: number; /** * onItemIndexChange event handler receiving index of selected Item. */ onItemIndexChange?: (index: number) => void; /** * Carousel items. */ items: React.ReactNode[]; /** * Indicates hide or show page control. */ hidePageControl?: boolean; /** * Additional styles */ style?: StyleProp; /** * Testing id of the component. */ testID?: string; /** * Component ref. */ ref?: React.Ref; onLayout?: (event: LayoutChangeEvent) => void; /** * Gap between items. */ gap?: 'xsmall' | 'small' | 'medium'; } export declare const getCardCarouselValidIndex: (index: number, length: number) => number; export declare const CardCarousel: React.ForwardRefExoticComponent & React.RefAttributes>;