import React, { Component, CSSProperties, MouseEventHandler } from 'react'; export interface BannerProps { data: any; prefixCls?: string; className?: string; autoplay?: boolean; infinite?: boolean; autoplayInterval?: number; activeClassName?: string; dotActiveStyle?: CSSProperties; dotStyle?: CSSProperties; style?: React.CSSProperties; bannerStyle?: CSSProperties; imgStyle?: CSSProperties; onClick?: MouseEventHandler; renderDots?: (index: number) => void; } export default class Banner extends Component { static defaultProps: { prefixCls: string; autoplay: boolean; infinite: boolean; autoplayInterval: number; }; render(): JSX.Element; }