/** * SvCarousel - a slideshow: a sliding track with prev/next arrows, dot * indicators, optional autoplay (pauses on hover/focus) and swipe. Slides are * rendered by the `slide` snippet (index in, your content out). Parity: Smart * carousel. * * ```svelte * * {#snippet slide(i)}{/snippet} * * ``` */ import type { Snippet } from 'svelte'; import { type EditorDir } from './editor-contract'; type Props = { count: number; slide?: Snippet<[number]>; /** Active slide index (bindable). */ current?: number; /** Autoplay interval in ms; 0 = off. */ autoplay?: number; loop?: boolean; arrows?: boolean; dots?: boolean; ariaLabel?: string; /** Text direction (rtl mirrors the prev/next arrows + slide direction). */ dir?: EditorDir; }; declare const SvCarousel: import("svelte").Component; type SvCarousel = ReturnType; export default SvCarousel;