import type { PrWalkthroughDiffBlock, WalkthroughWarning } from "../../shared/pr-walkthrough/types.js";
export type WalkthroughFileStatus = "added" | "modified" | "deleted" | "renamed" | "copied" | "binary";
export interface ParsedWalkthroughDiffFile extends PrWalkthroughDiffBlock {
    status: WalkthroughFileStatus;
    isBinary: boolean;
    isGenerated: boolean;
    truncated: boolean;
    isTruncated?: boolean;
    warnings: WalkthroughWarning[];
    additions: number;
    deletions: number;
}
export interface ParseUnifiedDiffOptions {
    maxFiles?: number;
    maxLinesPerFile?: number;
    generatedPathMatcher?: (filePath: string) => boolean;
}
export interface ParseUnifiedDiffResult {
    files: ParsedWalkthroughDiffFile[];
    warnings: WalkthroughWarning[];
}
export declare function parseUnifiedDiff(diff: string, options?: ParseUnifiedDiffOptions): ParseUnifiedDiffResult;
//# sourceMappingURL=diff-parser.d.ts.map