/** * @class Interval */ declare class Interval { #private; /** * Creates and returns a new Interval instance for the given function and delay in milliseconds. */ static create(func: Function, delay: number): Interval; /** * Number of milliseconds that function should wait before next call. * * @type {number} */ delay: number; /** * Initializes the interval with a callback function and a delay in milliseconds, binding the internal RAF callback. */ constructor(func: Function, delay: number); /** * Start loop. * * @returns {Interval} */ start(): this; /** * Stop looping. * * @returns {Interval} */ stop(): this; } export default Interval; /** * Convert delay from string format to milliseconds. * * @param {number|string} delay The delay in FPS (frame per second) or number format. * @returns {number} */ export declare function parseDelay(delay: number): number;