import type { AbapSource, Finding, RunOptions } from "./engine.js"; export interface FixedEntry { rule: string; message: string; file: string; line: number; } export interface FixResult { files: { filename: string; source: string; changed: boolean; }[]; /** Total machine fixes applied across all batches. */ fixedCount: number; /** What was fixed (capped at 200 entries; fixedCount carries the total). */ fixed: FixedEntry[]; /** Findings still present after fixing — no machine fix exists for these. */ remaining: Finding[]; /** Fix batches applied (each batch re-parses before the next). */ iterations: number; /** Set when a batch was discarded by the safety valve or the batch cap hit. */ stoppedEarly?: string; } export declare function fixAbap(files: AbapSource[], opts: RunOptions): FixResult;