import type { ExternalAnalyzerResults } from "audit-tools/shared"; import type { AuditTask, CoverageMatrix } from "../types.js"; import type { CriticalFlowManifest } from "audit-tools/shared"; export interface UnitLineIndex { [path: string]: number; } export interface BuildChunkedTaskOptions { /** * Line count above which a single file gets its own task rather than being * grouped with the rest of its unit. Default: `DEFAULT_FILE_SPLIT_THRESHOLD` * (5000). Set to 0 to disable splitting entirely. */ file_split_threshold?: number; /** * Approximate total line budget for a review task. Multi-file blocks above * this budget are split into multiple bounded review tasks. Default: 1500. * Set to 0 to disable aggregate line-budget splitting. */ max_task_lines?: number; /** * Maximum number of files in one review task. Default: 0 (disabled). * Token budget (max_task_lines) is the real constraint; file-count splitting * is off by default. Set to a positive integer to re-enable. */ max_task_files?: number; /** * Test files at or below this size can be batched across unit boundaries. * Default: 250. Set to 0 to disable tiny-test batching. */ tiny_test_file_lines?: number; limit_lenses?: string[]; /** * Lenses whose tasks should have their priority elevated by one tier * (low→medium, medium→high). Derived from free_form_intent at planning time; * never promoted above 'high'. */ intent_priority_boost?: string[]; external_analyzer_results?: ExternalAnalyzerResults[]; critical_flows?: CriticalFlowManifest; } export declare function buildChunkedAuditTasks(coverageMatrix: CoverageMatrix, unitLineIndex: UnitLineIndex, options?: BuildChunkedTaskOptions): AuditTask[]; //# sourceMappingURL=taskBuilder.d.ts.map