import type { RunnerEvents, RunnerSummary } from './types.js';
/**
 * Tracks the tests events to generate a summary report. Failing tests are further tracked
 * for complete hierarchy
 */
export declare class Tracker {
    #private;
    /**
     * Process the tests events
     */
    processEvent<Event extends keyof RunnerEvents>(event: keyof RunnerEvents, payload: RunnerEvents[Event]): void;
    /**
     * Returns the tests runner summary
     */
    getSummary(): RunnerSummary;
}
