import * as react from 'react'; import { ReactNode } from 'react'; type CarouselVariant = "directional" | "wizard"; interface CarouselContextValue { activeIndex: number; totalSlides: number; next: () => void; prev: () => void; goTo: (index: number) => void; registerSlides: (count: number) => void; variant: CarouselVariant; loop: boolean; slideNames: string[]; registerSlideNames: (names: string[]) => void; onFinish?: () => void; headless: boolean; } interface CarouselProps { children: ReactNode; defaultIndex?: number; activeIndex?: number; onIndexChange?: (index: number) => void; className?: string; autoPlay?: boolean; interval?: number; loop?: boolean; variant?: CarouselVariant; headless?: boolean; onFinish?: () => void; } interface CarouselSlideProps { children: ReactNode; className?: string; name?: string; } interface CarouselControlsProps { className?: string; prevLabel?: ReactNode; nextLabel?: ReactNode; finishLabel?: ReactNode; } interface CarouselStepsProps { className?: string; } interface CarouselPanelsProps { children: ReactNode; className?: string; transition?: "none" | "fade"; } declare const Carousel: react.ForwardRefExoticComponent> & { Panels: react.ForwardRefExoticComponent>; Slide: react.ForwardRefExoticComponent>; Controls: react.ForwardRefExoticComponent>; Steps: react.ForwardRefExoticComponent>; }; declare function useCarousel(): CarouselContextValue; export { type CarouselPanelsProps as C, type CarouselSlideProps as a, type CarouselControlsProps as b, type CarouselStepsProps as c, Carousel as d, type CarouselContextValue as e, type CarouselProps as f, type CarouselVariant as g, useCarousel as u };