import { type JsxCustomElementAttributes, type JsxElementProps, type JsxRenderable } from '@ecopages/jsx'; import { type RuiCarousel as RuiCarouselElement, type RuiCarouselProps } from './carousel.script'; import './carousel.script'; export type RuiCarouselSlideData = { id: string; children: JsxRenderable; }; export type RuiCarouselSlideProps = Omit, 'id'> & { id: string; }; /** * Slide in the carousel track (APG `group` / `tabpanel` roles are applied by the host). * * @cssclass rui-carousel__slide - Slide surface. */ export declare function RuiCarouselSlide({ id, children, class: className, ...props }: RuiCarouselSlideProps): JsxRenderable; export type RuiCarouselControlProps = JsxElementProps & { disabled?: boolean; /** Match `controls-variant="overlay"` on the carousel for circular on-slide chrome. */ overlay?: boolean; }; /** * Previous carousel control. * * @cssclass rui-carousel__nav - Prev nav button (composed with `rui-button`). */ export declare function RuiCarouselPrev({ children, class: className, disabled, overlay, aria, ...props }: RuiCarouselControlProps): JsxRenderable; /** Next carousel control. */ export declare function RuiCarouselNext({ children, class: className, disabled, overlay, aria, ...props }: RuiCarouselControlProps): JsxRenderable; export type RuiCarouselRotationProps = JsxElementProps & { overlay?: boolean; }; /** Play/pause rotation control when `autoplay` or `show-rotation-control` is set. */ export declare function RuiCarouselRotation({ children, class: className, overlay, aria, ...props }: RuiCarouselRotationProps): JsxRenderable; export declare function RuiCarousel({ slides, children, prev, next, rotation, label, transition, controlsVariant, showIndicators, showRotationControl, autoplay, ...props }: JsxCustomElementAttributes): JsxRenderable;