type AddReturn = {
    remove: () => void;
    run: () => any;
};

export function add(fn: () => void): AddReturn;
export function runAll(): Promise<any>;
export function removeAll(): void;
export function getSize(): number;
