import type { BatchFixDependencies, BatchFixOptions, BatchFixResult } from './batch-fix-types.js'; export type { BatchFixAgentOutcome, BatchFixAgentSpec, BatchFixDependencies, BatchFixDiagnosis, BatchFixItemResult, BatchFixOptions, BatchFixResult, BatchFixScopedTest, BatchFixScopedTestInput } from './batch-fix-types.js'; /** * Fix every diagnosed item of a batch, one scoped test at a time. * * The waves are the unit of parallelism: the agents of one wave are * dispatched together, and the wave after it starts only when the previous * wave's items have been tested. The scoped test of an item runs before that * item's status flips, and a red test leaves the item `diagnosed`. * * @param options - The batch, its items, their diagnoses and the rule list. * @param deps - The dispatch and the scoped-test runner. * @returns One result per fixed item, and the items that had no diagnosis. */ export declare function runBatchFix(options: BatchFixOptions, deps: BatchFixDependencies): Promise;