import { TestService } from '@salesforce/apex-node'; import { Connection } from '@salesforce/core'; import type { BaselineCompileFailure } from '../../port/mutationTestBed.js'; import type { CoverageStrategy } from '../../service/coverageStrategy.js'; import type { ApexTestRunResult } from '../../type/ApexTestRunResult.js'; import { type TestMethodId } from '../../type/TestMethodId.js'; export interface BaselineTestResult { outcome: string; testsRan: number; compileFailures: BaselineCompileFailure[]; otherFailureCount: number; testMethodsPerLine: Map>; } interface ApexTestRunnerOptions { onSyncFallback?: (error: Error) => void; } export declare class ApexTestRunner { protected readonly testService: TestService; private readonly onSyncFallback?; private syncFallbackReported; private syncTransportDisabled; constructor(connection: Connection, options?: ApexTestRunnerOptions); getTestMethodsPerLines(apexTestClassNames: string[], coverageStrategy: CoverageStrategy): Promise; runTestMethods(testMethods: ReadonlySet): Promise; private runTests; private runPreferringSync; private reportSyncFallback; private runTestSynchronous; private runTestAsynchronous; } export {};