/** * interval by requestAnimationFrame * * 按照屏幕刷新率回调,更稳定的轮询回调 * * @authors Luo-jinghui (luojinghui424@gmail.com) * @date 2020-10-12 15:44:10 */ declare const XYTimer: { timer: {}; /** * 启动基于requestAnimation的轮询定时器 * * @param key 定时器key值 * @param cb 定时器调用函数 * @param interval 多久触发一次定时器调用 */ setInterval(key?: string, cb?: () => void, interval?: number): any; getTimers(): any; clearInterval(key: any): void; clearAll(): void; }; export { XYTimer };