export default Carousel; declare class Carousel extends React.Component { static displayName: string; static propTypes: { /** Applies a data-hook HTML attribute that can be used in the tests */ dataHook: PropTypes.Requireable; /** Specifies a CSS class name to be appended to the component’s root element */ className: PropTypes.Requireable; /** Defines an array of objects where each contains the `src` of an image (in ``) */ images: PropTypes.Requireable; /** Sets the image's position */ imagesPosition: PropTypes.Requireable; /** Sets the image’s fit */ imagesFit: PropTypes.Requireable; /** Accepts any component as a child item. Most commonly used to display ``, `` or video files. */ children: PropTypes.Requireable; /** Sets the skin of the control (next / previous) buttons */ buttonSkin: PropTypes.Requireable; /** Drops a shadow below the control buttons */ showControlsShadow: PropTypes.Requireable; /** Loops images endlessly */ infinite: PropTypes.Requireable; /** Auto-plays images */ autoplay: PropTypes.Requireable; /** Controls if the bottom dots are visible or hidden */ dots: PropTypes.Requireable; /** Shows one slide at a time (default) or stacks one slide after another horizontally */ variableWidth: PropTypes.Requireable; /** Sets the slide to start a presentation with */ initialSlideIndex: PropTypes.Requireable; /** Index change callback. `index => ...` */ afterChange: PropTypes.Requireable<(...args: any[]) => any>; /** Index change callback. `(oldIndex, newIndex) => ...` */ beforeChange: PropTypes.Requireable<(...args: any[]) => any>; /** Sets the control buttons’ position */ controlsPosition: PropTypes.Requireable; /** Sets the control buttons’ size */ controlsSize: PropTypes.Requireable; /** Controls if the next / previous control buttons are visible, hidden or disabled at the start and end of the slideshow */ controlsStartEnd: PropTypes.Requireable; }; static defaultProps: { infinite: boolean; dots: boolean; variableWidth: boolean; initialSlideIndex: number; images: never[]; imagesPosition: string; imagesFit: string; buttonSkin: string; controlsPosition: string; controlsSize: string; controlsStartEnd: string; showControlsShadow: boolean; }; constructor(props: any); state: { sliderSettings: { infinite: any; autoplay: any; speed: number; autoplaySpeed: number; initialSlide: any; dots: any; slidesToShow: number; slidesToScroll: number; variableWidth: any; afterChange: any; beforeChange: any; nextArrow: React.JSX.Element; prevArrow: React.JSX.Element; arrows: boolean; appendDots: (pages: any) => React.JSX.Element; customPaging: (i: any) => React.JSX.Element; }; loadedImages: never[]; }; sliderRef: React.RefObject; render(): React.JSX.Element; leftIconByControlSize: (controlSize: any) => React.JSX.Element; rightIconByControlSize: (controlSize: any) => React.JSX.Element; /** Slide to slide by index */ slideTo: (index: any) => void; _resolveSliderSettings: ({ infinite, autoplay, dots, variableWidth, buttonSkin, initialSlideIndex, afterChange, beforeChange, controlsPosition, controlsSize, controlsStartEnd, }: { infinite: any; autoplay: any; dots: any; variableWidth: any; buttonSkin: any; initialSlideIndex: any; afterChange: any; beforeChange: any; controlsPosition: any; controlsSize: any; controlsStartEnd: any; }) => { infinite: any; autoplay: any; speed: number; autoplaySpeed: number; initialSlide: any; dots: any; slidesToShow: number; slidesToScroll: number; variableWidth: any; afterChange: any; beforeChange: any; nextArrow: React.JSX.Element; prevArrow: React.JSX.Element; arrows: boolean; appendDots: (pages: any) => React.JSX.Element; customPaging: (i: any) => React.JSX.Element; }; _renderImages: (images: any) => any; _onImageLoad(src: any): void; _isLoading(src: any): boolean; } import React from 'react'; import PropTypes from 'prop-types'; //# sourceMappingURL=Carousel.d.ts.map