import { CarouselProps } from 'antd'; import { CarouselRef } from 'antd/lib/carousel'; import './Carousel.less'; export declare type CurrentCarouselProps = CarouselProps & CarouselRef & { data: { image: string; title?: string; link?: string; }[]; height?: number; arrow?: boolean; }; declare const Carousel: { (props: CurrentCarouselProps): JSX.Element; title: string; icon: JSX.Element; propsDef: ({ key: string; type: string; name: string; defaultValue: boolean; element: JSX.Element; } | { key: string; type: string; name: string; defaultValue: string; element: JSX.Element; } | { key: string; name: string; type: string; defaultValue: { image: string; title: string; link: string; }[]; element?: undefined; } | { key: string; type: string; name: string; defaultValue: number; element?: undefined; })[]; }; export default Carousel;