import { CarouselOptions, type CarouselInstance, type Carousel } from "./carousel"; export type ThumbsOptions = { /** * Optional custom Carousel options */ Carousel?: Partial; /** * Minimum number of slides with thumbnails in the carousel to create Thumbs */ minCount: number; /** * Optional element to place thumbnail container */ parentEl?: HTMLElement | null | (() => HTMLElement | null); /** * If the thumbnail bar should automatically appear after the carousel is initialized */ showOnStart: boolean; /** * Template for the thumbnail element */ thumbTpl: string; /** * Choose a type - "classic" (syncs two instances of the carousel) or "modern" (Apple Photos style) */ type: "classic" | "modern"; }; export type ThumbsInstance = ReturnType; declare module "./carousel" { interface CarouselOptions { Thumbs?: Boolean | Partial; } interface CarouselPlugins { Thumbs: CarouselPlugin & ThumbsInstance; } interface CarouselSlide { thumbSrc?: string | HTMLImageElement; thumbClass?: string; } } export declare const Thumbs: () => { init: (_instanceRef: CarouselInstance, _carousel: typeof Carousel) => void; destroy: () => void; /** * Get reference to the container DOM element */ getContainer: () => HTMLElement; /** * Check if thumbnails are enabled */ isEnabled: () => boolean; };