import * as messages from '@cucumber/messages';
import { TestCaseRun } from '../messagesBuilder/TestCaseRun';
/**
 * Builds the HTML-specific testCase envelope for the final non-retried attempt of a scenario.
 * It reuses canonical TestCase step IDs but filters hook steps to only those executed in this run.
 */
export declare class FinalRetryTestCase {
    private testCaseRun;
    readonly testCaseId: string;
    readonly testCaseRunId: string;
    readonly testStepIds: Set<string>;
    readonly envelope: messages.Envelope;
    private testCase;
    constructor(testCaseRun: TestCaseRun, testRunStartedId: string);
    /**
     * Returns hook test steps for the given hook type, filtered to only those that were actually
     * executed in this run. Hooks accumulated on the shared TestCase may include hooks from
     * previous retries that did not run in the final attempt (e.g. a BeforeAll that only ran once),
     * so we intersect with the executed hooks of this specific TestCaseRun.
     */
    private getRunHookSteps;
}
//# sourceMappingURL=FinalRetryTestCase.d.ts.map