import { ClassComponent } from '../ts-helpers';
import { ImageProps } from 'v2/Image/Image.vue.d';

export type CarouselValue = {
  thumbnail?: ImageProps['thumbnail'];
  preview?: ImageProps['preview'];
  description?: ImageProps['description'];
};

export interface CarouselProps {
  /**
   * An array of image object to be displayed.
   */
  value: CarouselValue[] | undefined;
}

/**
 * **TSVue v2 - Carousel**
 *
 * _Carousel is a component for displaying a collection of images or content in a sliding or rotating fashion.
 * You can navigate through the items using the provided next and previous functions._
 *
 * --- ---
 * ![TSVue](https://ik.imagekit.io/kurniadev/TS-HEAD-BLACK.png)
 *
 * @group components
 */
declare class Carousel extends ClassComponent<CarouselProps> {}

export default Carousel;
