1 import { AsyncAction } from './AsyncAction';
2 import { AnimationFrameScheduler } from './AnimationFrameScheduler';
3 import { SchedulerAction } from '../types';
5 * We need this JSDoc comment for affecting ESDoc.
9 export declare class AnimationFrameAction<T> extends AsyncAction<T> {
10 protected scheduler: AnimationFrameScheduler;
11 protected work: (this: SchedulerAction<T>, state?: T) => void;
12 constructor(scheduler: AnimationFrameScheduler, work: (this: SchedulerAction<T>, state?: T) => void);
13 protected requestAsyncId(scheduler: AnimationFrameScheduler, id?: any, delay?: number): any;
14 protected recycleAsyncId(scheduler: AnimationFrameScheduler, id?: any, delay?: number): any;