/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import * as React from 'react'; import { Settings } from '@ant-design/react-slick'; export declare type CarouselEffect = 'scrollx' | 'fade'; export declare type DotPosition = 'top' | 'bottom' | 'left' | 'right'; export interface CarouselProps extends Omit { effect?: CarouselEffect; style?: React.CSSProperties; prefixCls?: string; slickGoTo?: number; dotPosition?: DotPosition; children?: React.ReactNode; dots?: boolean | { className?: string; }; showArrows?: boolean; type?: 'default' | 'outside'; wrapStyle?: React.CSSProperties; } export interface CarouselRef { goTo: (slide: number, dontAnimate?: boolean) => void; next: () => void; prev: () => void; autoPlay: boolean; innerSlider: any; } declare const Carousel: React.ForwardRefExoticComponent>; export default Carousel;