/**
 * Handles uncaught exceptions and prints them to the
 * console
 */
export declare class ExceptionsManager {
    #private;
    hasErrors: boolean;
    /**
     * Monitors unhandled exceptions and rejections. The exceptions
     * are stacked in a buffer, so that we do not clutter the
     * tests output and once the tests are over, we will
     * print them to the console.
     *
     * In case the tests are completed, we will print errors as they
     * happen.
     */
    monitor(): void;
    report(): Promise<void>;
}
