import { type INSTRUMENTER_CONSTANTS, StrykerOptions } from '@stryker-mutator/api/core'; import { Logger } from '@stryker-mutator/api/logging'; import { I } from '@stryker-mutator/util'; import { TestRunner, DryRunResult, DryRunOptions, MutantRunOptions, MutantRunResult, TestRunnerCapabilities, MutantActivation } from '@stryker-mutator/api/test-runner'; import { Context } from 'mocha'; import { MochaOptionsLoader } from './mocha-options-loader.js'; import { MochaAdapter } from './mocha-adapter.js'; export declare class MochaTestRunner implements TestRunner { private readonly log; private readonly options; private readonly loader; private readonly mochaAdapter; private mocha; private readonly instrumenterContext; private originalGrep?; beforeEach?: (context: Context) => void; static inject: ["logger", "options", "loader", "mochaAdapter", "globalNamespace"]; private loadedEnv; constructor(log: Logger, options: StrykerOptions, loader: I, mochaAdapter: I, globalNamespace: typeof INSTRUMENTER_CONSTANTS.NAMESPACE | '__stryker2__'); capabilities(): Promise; init(): Promise; private setIfDefined; dryRun({ coverageAnalysis, disableBail, }: DryRunOptions): Promise; mutantRun({ activeMutant, testFilter, disableBail, hitLimit, mutantActivation, }: MutantRunOptions): Promise; run(disableBail: boolean, activeMutantId?: string, mutantActivation?: MutantActivation): Promise; dispose(): Promise; private runMocha; } //# sourceMappingURL=mocha-test-runner.d.ts.map