/** # Tick Interval * Creates a predictable tick interval. * Uses requestAnimationFrame when available, falling back to setTimeout. */ export declare class TickInterval { stopOnError: boolean; private _active; private interval; private currentTimeout; private __timeoutFunc; private _useAnimationFrame; private _lastTick; constructor(run?: () => void | Promise, interval?: number, stopOnError?: boolean); setOnRun(run: () => void | Promise): this; setInterval(interval: number): this; private runInterval; start(): this; stop(): this; }