import * as React from 'react'; import { CarouselPropsType } from './PropsType'; declare type IFrameOverFlow = 'visible' | 'hidden'; export interface CarouselProps extends CarouselPropsType { className?: string; prefixCls?: string; beforeChange?: (from: number, to: number) => void; afterChange?: (current: number) => void; swipeSpeed?: number; easing?: () => void; style?: React.CSSProperties; dotStyle?: React.CSSProperties; dotActiveStyle?: React.CSSProperties; frameOverflow?: IFrameOverFlow; cellSpacing?: number; slideWidth?: string | number; } export interface CarouselState { selectedIndex?: number; } export default class Carousel extends React.Component { static defaultProps: { prefixCls: string; dots: boolean; arrows: boolean; autoplay: boolean; infinite: boolean; cellAlign: string; selectedIndex: number; dotStyle: {}; dotActiveStyle: {}; }; constructor(props: CarouselProps); onChange: (index: number) => void; render(): JSX.Element; } export {};