import { Scheduler } from '../Scheduler'; import { QueueAction } from './QueueAction'; import { Subscription } from '../Subscription'; import { Action } from './Action'; export declare class QueueScheduler implements Scheduler { active: boolean; actions: QueueAction[]; scheduledId: number; now(): number; flush(): void; schedule(work: (x?: any) => Subscription | void, delay?: number, state?: any): Subscription; scheduleNow(work: (x?: any) => Subscription | void, state?: any): Action; scheduleLater(work: (x?: any) => Subscription | void, delay: number, state?: any): Action; }