import { type ComponentPropsWithRef } from "react"; import type { EmblaCarouselType } from "./emblaTypes"; /** * Type definition for the UseCarouselTab hook. * Provides state and handlers for tablist navigation in a carousel. */ type UseCarouselTabProps = { /** * The index of the currently selected slide. */ selectedIndex: number; /** * An array of scroll snap positions for the carousel slides. */ scrollSnaps: number[]; }; export declare const useCarouselTab: (emblaApi: EmblaCarouselType | undefined) => UseCarouselTabProps; /** * Props for the CarouselTab component. */ export interface CarouselTabProps extends ComponentPropsWithRef<"button"> { /** * Is the selected slide */ selected?: boolean; } export declare const CarouselTab: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export {};