import type { ComponentProps } from 'react'; import React from 'react'; import { CarouselOld } from './Legacy/Carousel'; declare const CarouselNew: React.FunctionComponent & import("@salutejs/plasma-new-hope/styled-components").CarouselNewProps & React.RefAttributes>; type PropsOld = ComponentProps; type PropsNew = ComponentProps & { index?: never; }; type CarouselProps = PropsOld | PropsNew; declare const Carousel: (props: CarouselProps & React.RefAttributes) => React.ReactElement | null; export { Carousel }; export type { CarouselProps };