interface FailedTest { target: string; suite: string; testCase: string; onlyTestingArg: string; } declare function parseFailedTests(output: string): FailedTest[]; interface TestCommandOptions { scheme?: string; workspace?: string; project?: string; destination?: string; devices?: string[]; testPlan?: string; onlyTesting?: string[]; skipTesting?: string[]; configuration?: string; derivedDataPath?: string; resultBundlePath?: string; codeCoverage?: boolean; xcargs?: string; clean?: boolean; /** Enable `-parallel-testing-enabled YES`. */ parallelTesting?: boolean; /** Sets `-parallel-testing-worker-count`. */ concurrentWorkers?: number; /** Sets `-maximum-concurrent-test-simulator-destinations`. */ maxConcurrentSimulators?: number; /** Explicitly disable concurrent destinations (`-disable-concurrent-destination-testing`). */ disableConcurrentTesting?: boolean; addressSanitizer?: boolean; threadSanitizer?: boolean; undefinedBehaviorSanitizer?: boolean; } declare function buildTestCommand(options: TestCommandOptions): string[]; interface ScanOptions { scheme?: string; workspace?: string; project?: string; devices?: string[]; testPlan?: string; onlyTesting?: string[]; skipTesting?: string[]; configuration?: string; outputDirectory?: string; clean?: boolean; codeCoverage?: boolean; derivedDataPath?: string; resultBundlePath?: string; maxRetries?: number; xcargs?: string; onOutput?: (chunk: string) => void; } interface TestResult { success: boolean; totalTests: number; failures: number; skipped: number; retries: number; duration: number; reportPaths: string[]; output: string; } declare function runTests(options: ScanOptions): Promise; type index_FailedTest = FailedTest; type index_ScanOptions = ScanOptions; type index_TestResult = TestResult; declare const index_buildTestCommand: typeof buildTestCommand; declare const index_parseFailedTests: typeof parseFailedTests; declare const index_runTests: typeof runTests; declare namespace index { export { type index_FailedTest as FailedTest, type index_ScanOptions as ScanOptions, type index_TestResult as TestResult, index_buildTestCommand as buildTestCommand, index_parseFailedTests as parseFailedTests, index_runTests as runTests }; } export { type FailedTest as F, type ScanOptions as S, type TestResult as T, buildTestCommand as b, index as i, parseFailedTests as p, runTests as r };