import React, { FC } from 'react'; export interface PropsType { 'data-testid'?: string; /** * Let's you define the aspect ratio of the slides in the carousel, default: 16,9 */ ratio?: [number, number]; /** * This component has 2 modes, controlled and uncontrolled. * You can manage the state yourself by passing in the active slide * and adding an onChange callback */ slide?: number; /** * This callback will be fired at the **before** the animation. It receives the destination of the slide first, and the origin as second argument. */ onChange?(destination: number, origin: number): void; /** * This callback fires after the animation is complete, allowing you to do something in the time between the onChange and onAfterChange. */ onAfterChange?(): void; } declare const Carousel: FC>; export default Carousel;