import { Action } from '../Action'; import { AsyncAction } from './AsyncAction'; import { Scheduler } from '../scheduler'; export declare class AsyncScheduler extends Scheduler { actions: Array>; /** * A flag to indicate whether the Scheduler is currently executing a batch of * queued actions. * @type {boolean} * @internal */ _active: boolean; /** * An internal ID used to track the latest asynchronous task such as those * coming from `setTimeout`, `setInterval`, `requestAnimationFrame`, and * others. * @type {any} * @internal */ _scheduled?: any; constructor(SchedulerAction: typeof Action, now?: () => number); flush(action: AsyncAction): void; }