import React from "react"; import "./carousel.scss"; import { AfterSlideEvent } from "./CarouselItem"; export declare type CarouselProps = JSX.IntrinsicElements["div"] & { /** Event handler triggered after change have happened to the carousel returning the index of the new active carousel slide */ afterChange?: (e: AfterSlideEvent) => void; /** The duration (in milliseconds) it takes to transition from one slide to another. Default is `600` */ transitionDuration?: number; /** Transition style. Supported styles: `slide` and `fade` */ transitionStyle?: "slide" | "fade"; /** Enables infinite scrolling */ infinite?: boolean; /** Shows clickable indicators at the bottom */ showIndicators?: boolean; /** The index of default active slide */ defaultValue?: number; /** Enables autoplay slides */ autoplay?: boolean; /** Autoplay speed in milliseconds. Default is `5000` */ autoplaySpeed?: number; }; export declare const defaultTransitionDuration: number; export declare const defaultAutoplaySpeed: number; export declare type NavigationDirection = "next" | "prev"; export declare const Carousel: React.FC;