import { ActionReturn } from 'svelte/action'; import { EmblaCarouselType, EmblaOptionsType, EmblaPluginType } from 'embla-carousel'; type EmblaCarouselParameterType = { options: EmblaOptionsType; plugins: EmblaPluginType[]; }; type EmblaCarouselAttributesType = { 'on:emblaInit'?: (evt: CustomEvent) => void; onemblaInit?: (evt: CustomEvent) => void; }; export type EmblaCarouselSvelteType = ActionReturn; declare function emblaCarouselSvelte(emblaNode: HTMLElement, emblaConfig?: EmblaCarouselParameterType): EmblaCarouselSvelteType; declare namespace emblaCarouselSvelte { let globalOptions: EmblaOptionsType | undefined; } export default emblaCarouselSvelte;