import Hooks from '@poppinss/hooks';
import { Suite } from './main.js';
import { Emitter } from '../emitter.js';
import type { SuiteHooks } from '../types.js';
/**
 * Run all groups or tests inside the suite stack
 */
export declare class SuiteRunner {
    #private;
    /**
     * Know if any of the tests/hooks have failed
     */
    get failed(): boolean;
    constructor(suite: Suite<any>, hooks: Hooks<SuiteHooks<Record<any, any>>>, emitter: Emitter, options: {
        bail: boolean;
    });
    /**
     * Run the test
     */
    run(): Promise<void>;
}
