export declare class Timeline<E> {
    private timeline;
    private stop;
    private executor;
    put(time: Date, entry: E): void;
    runAndRemoveEntriesBefore(time: Date, func: (entry: E) => void): void;
    process(func: (entry: E) => void): Promise<void>;
    waitForProcessing(): Promise<void>;
    cancel(): void;
    clear(): void;
    toString(): string;
}
//# sourceMappingURL=Timeline.d.ts.map