import { Action } from './Action'; import { SchedulerAction } from '../types'; import { Subscription } from '../Subscription'; import { AsyncScheduler } from './AsyncScheduler'; export declare class AsyncAction extends Action { protected scheduler: AsyncScheduler; protected work: (this: SchedulerAction, state?: T) => void; id: any; state?: T; delay: number; protected pending: boolean; constructor(scheduler: AsyncScheduler, work: (this: SchedulerAction, state?: T) => void); schedule(state?: T, delay?: number): Subscription; protected requestAsyncId(scheduler: AsyncScheduler, _id?: any, delay?: number): any; protected recycleAsyncId(_scheduler: AsyncScheduler, id: any, delay?: number | null): any; /** * Immediately executes this action and the `work` it contains. * @return {any} */ execute(state: T, delay: number): any; protected _execute(state: T, _delay: number): any; unsubscribe(): void; } //# sourceMappingURL=AsyncAction.d.ts.map