/**
 * Parses a git diff string and counts the number of lines added and removed.
 * Ignores diff metadata lines (like @@ and +++ lines).
 */
export declare function parseDiff(diff: string): {
    additions: number;
    deletions: number;
};
/**
 * Converts a glob pattern to a RegExp object.
 * Handles common glob patterns like * and ?.
 */
export declare function globToRegex(pattern: string): RegExp;
//# sourceMappingURL=diff-parser.d.ts.map