/** @license MIT License (c) copyright 2010-2017 original author or authors */
import { Time, Timeline } from '@most/types';
import ScheduledTaskImpl from './ScheduledTask';
export default class TimelineImpl implements Timeline {
    private tasks;
    constructor();
    nextArrival(): number;
    isEmpty(): boolean;
    add(st: ScheduledTaskImpl): void;
    remove(st: ScheduledTaskImpl): boolean;
    /**
     * @deprecated
     */
    removeAll(f: (task: ScheduledTaskImpl) => boolean): void;
    runTasks(t: Time, runTask: (task: ScheduledTaskImpl) => void): void;
}
