import React from 'react'; import type { ScrollView, ScrollViewProps } from 'react-native'; import type { ThemeVars } from '@coinbase/cds-common/core/theme'; import type { SharedProps } from '@coinbase/cds-common/types/SharedProps'; import type { CarouselOnReady, CarouselRef } from './types'; export type CarouselProps = { items: React.ReactElement[]; /** Return value from useCarousel hook. Allows access to certain internal data/methods of Carousel. */ carouselRef?: React.MutableRefObject; /** Gap to insert between siblings. The last item will exclude additional spacing. */ gap?: ThemeVars.Space; /** Callback that fires when the Carousel is ready to be interacted with. */ onReady?: CarouselOnReady; } & Omit & SharedProps; /** * @deprecated Use new Carousel component instead. This will be removed in a future major release. * @deprecationExpectedRemoval v8 */ export declare const Carousel: React.MemoExoticComponent< ({ ref: forwardedRef, carouselRef, items, gap, testID, onReady, ...otherProps }: CarouselProps & { ref?: React.Ref; }) => import('react/jsx-runtime').JSX.Element >; //# sourceMappingURL=Carousel.d.ts.map