import type { Slider } from '../index.js'; import type { Elements } from './elements.js'; /** * @param options * Time a slide stays, ms; or that as `delay`, buttons that stop it * as `pause`, `hover: false` for not waiting for the pointer, and * the time the first slide has `left`. */ export declare function autoplay(options?: number | { delay?: number; pause?: Elements; hover?: boolean; left?: number; }): (slider: Slider) => { name: string; measure: () => void; /** Whether it is stopped by `pause()`. */ readonly paused: boolean; /** Stops until `play()`. */ pause: () => void; /** Goes on. */ play: () => void; destroy(): void; };