import Looper = require('./Looper'); /** * This Looper uses the setInterval/clearInterval API as its implementation. * * The interval at which the function is called is set to {@see TIMEOUT_60_FPS_IN_MS} * * If a window is hidden then most browsers will limit the rate of invocation of this Looper to once every second. */ declare class TimeoutLooper implements Looper.Looper { private cb; private handle; /** * Create a setInterval-based Looper that will invoke the given callback. * * If the callback returns false, the Looper will cancel any future invocations. * * @param {Function} cb callback that will be invoked by this looper. */ constructor(cb: () => boolean); start(): void; stop(): void; isRunning(): boolean; } export = TimeoutLooper;