import type { GsapHandle } from '../../core/gsap-detect'; import type { SliderLoop } from './horizontal-loop'; export interface AutoplayOptions { /** Seconds between slide advances. */ interval: number; /** Slide-transition duration (used by the slider tween, not autoplay timing). */ duration: number; ease: string; hoverPause: boolean; /** * How to advance one slide. Defaults to `slider.next(...)` (infinite wrap). * The finite slider overrides this to rewind to the first slide instead of * no-op'ing at the last. */ advance?: () => void; } export interface AutoplayController { start: () => void; stop: () => void; /** Update progress bars to reflect the given active slide index. */ syncProgress: (index: number) => void; /** Pause autoplay (without resetting progress). For external nav restarts. */ reset: () => void; /** * Mark whether a drag/throw is in progress. When true, the hover * mouseleave handler won't auto-start autoplay (the caller will restart * once the throw completes on the correct landing slide). */ setDragInProgress: (active: boolean) => void; destroy: () => void; } export declare function setupAutoplay(gsapHandle: GsapHandle, root: HTMLElement, slider: SliderLoop, options: AutoplayOptions): AutoplayController; //# sourceMappingURL=autoplay.d.ts.map