import Hooks from '@poppinss/hooks';
import { Group } from './main.js';
import { Emitter } from '../emitter.js';
import type { GroupHooks } from '../types.js';
/**
 * Run all tests for a given group
 */
export declare class GroupRunner {
    #private;
    /**
     * Know if any of the tests/hooks have failed
     */
    get failed(): boolean;
    constructor(group: Group<any>, hooks: Hooks<GroupHooks<Record<any, any>>>, emitter: Emitter, options: {
        bail: boolean;
    });
    /**
     * Run the test
     */
    run(): Promise<void>;
}
