import { default as React } from 'react'; import { CarouselProps as AntCarouselProps } from 'antd'; import { BaseComponentProps, DataSetConfig } from '../../types/common'; export interface SlideItem { title: string; key: string; } export interface AndCarouselProps extends Omit, BaseComponentProps, DataSetConfig { /** @deprecated 使用 dotPlacement 替代 */ dotPosition?: 'top' | 'bottom' | 'left' | 'right'; /** 指示点位置 */ dotPlacement?: 'start' | 'end' | 'top' | 'bottom'; /** Slide 配置列表 */ slides?: SlideItem[] | string; /** 变更动作 */ changeAction?: string; /** onChange 回调 */ afterChange?: (current: number) => void; /** 开发模式 */ develop?: boolean; /** Slide 内容渲染函数 */ renderSlideContent?: (key: string, index: number) => React.ReactNode; } export declare const AndCarousel: React.FC; export default AndCarousel; //# sourceMappingURL=index.d.ts.map