export declare type TaskID = number;
declare type Task = {
    callback: (timeStamp: number) => void;
    id: TaskID;
    cancelled: boolean;
};
declare class TaskQueue {
    _queue: Array<Task>;
    _id: TaskID;
    _cleared: boolean;
    _currentlyRunning: Array<Task> | false;
    constructor();
    add(callback: (timeStamp: number) => void): TaskID;
    remove(id: TaskID): void;
    run(timeStamp?: number): void;
    clear(): void;
}
export default TaskQueue;
//# sourceMappingURL=task_queue.d.ts.map