///
///
import { PureComponent } from '../../utils/component';
import { CarouselProps } from './type';
declare type Direction = 'stop' | 'forward' | 'backward';
interface CarouselState {
current: number;
direction: Direction;
pre: number;
}
declare class Carousel extends PureComponent {
static defaultProps: CarouselProps;
mouseInView: boolean;
timer: NodeJS.Timeout;
get count(): number;
constructor(props: any);
componentDidMount: () => void;
setNext: (next: any) => void;
moveTo: (next: any) => void;
handleMouseIn: () => void;
handleMouseOut: () => void;
render: () => JSX.Element;
}
export default Carousel;