import { EmblaCarouselType, EmblaOptionsType, EmblaPluginType } from 'embla-carousel'; type CarouselOrientation = "horizontal" | "vertical"; type CarouselOptions = { orientation?: CarouselOrientation; opts?: EmblaOptionsType; plugins?: EmblaPluginType[]; setApi?: (api: EmblaCarouselType) => void; }; type CarouselInstance = { readonly api: EmblaCarouselType; readonly root: HTMLElement; readonly viewport: HTMLElement; canScrollNext(): boolean; canScrollPrev(): boolean; destroy(): void; reInit(options?: EmblaOptionsType, plugins?: EmblaPluginType[]): void; scrollNext(jump?: boolean): void; scrollPrev(jump?: boolean): void; scrollTo(index: number, jump?: boolean): void; selectedSnap(): number; }; declare function createCarousel(root: HTMLElement, options?: CarouselOptions): CarouselInstance; export { type CarouselInstance, type CarouselOptions, type CarouselOrientation, createCarousel };