/** * Shared diff utility functions for executor validators. * These are used by multiple executors for git diff parsing and line-level detection. */ /** * Get the diff content for a specific file. */ export declare function getFileDiff(workspaceRoot: string, file: string, base: string, head?: string): string; /** * Parse diff to extract changed line numbers (additions only - lines starting with +). */ export declare function getChangedLineNumbers(diffContent: string): Set; /** * Parse diff to find newly added method signatures. */ export declare function findNewMethodSignaturesInDiff(diffContent: string): Set; /** * Check if any line in [startLine, endLine] is in the changedLines set. */ export declare function hasChangesInRange(startLine: number, endLine: number, changedLines: Set): boolean; /** * Check if a node (method or function) is new or has changed lines in its range. */ export declare function isNewOrModified(name: string, startLine: number, endLine: number, changedLines: Set, newMethodNames: Set): boolean;