import type { Slider } from '../index.js'; import type { Elements } from './elements.js'; /** * @param options Options. * @param options.speed px per second; negative runs the other * way. * @param options.hover What is left of the speed while a * pointer is over the slider: 0 stops it. * @param options.scroll How much of the speed the page is * scrolled with is added, whichever way * it is scrolled. 0 for none. * @param options.turn Runs the other way after the page is * scrolled up. * @param options.pause Buttons that * stop it. */ export declare function marquee({ speed, hover, scroll, turn, pause }?: { speed?: number; hover?: number; scroll?: number; turn?: boolean; pause?: Elements; }): (slider: Slider) => { name: string; measure: () => void; /** Whether it is stopped by `pause()`. */ readonly paused: boolean; /** Stops until `play()`. */ pause: () => void; /** Runs on. */ play: () => void; frame(_view: import("../index.js").View, dt: number, time: number): void; busy: () => boolean; destroy: () => void; };