/**
 * KeepLast is a concurrency primitive that manages a list of tasks, and only
 * keeps the last task active.
 *
 */
export declare class KeepLast<T> {
    private lastId;
    /**
     * Register a new task
     */
    add(promise: Promise<T>): Promise<T>;
}
