import type { TerminalHandlerContext } from '../registry.js';
import type { TestsService } from './service.js';
/**
 * Returns the terminal test service of the context's generation, creating it
 * on first use. Slices 09/10 call this from their own handlers to run the
 * affected-subset batch (`service.runAffected`) in the same operation space.
 * @param context Handler context of the current generation.
 */
export declare function getTestsService(context: TerminalHandlerContext): TestsService;
export { createAffectedBatchTask } from './batch.js';
export type { AffectedBatch, BatchItem, BatchProgress } from './batch.js';
export type { AdmittedRun, TestsService, TestsServiceOptions } from './service.js';
//# sourceMappingURL=index.d.ts.map