import type { DerivedActuals, GitCommitInfo } from '../../types/index.js';
/**
 * Parses git log output in the format produced by:
 *   git log --format="%H|%aI|%s" --numstat
 */
export declare function parseGitLogOutput(output: string): GitCommitInfo[];
/**
 * Calculates estimated dev hours from commits.
 * Sums intervals between consecutive commits, capping each at 2h
 * (gaps > 2h are treated as overnight pauses and ignored).
 * Minimum 1h for single-commit specs.
 */
export declare function calculateDevHours(commits: GitCommitInfo[]): number;
/**
 * Sums insertions + deletions across all commits.
 */
export declare function calculateLinesChanged(commits: GitCommitInfo[]): number;
/**
 * Derives actuals for a spec by running git log filtered by specId in commit messages.
 * Returns null if specId is invalid or no commits are found.
 */
export declare function deriveActualsFromGit(projectPath: string, specId: string): Promise<DerivedActuals | null>;
//# sourceMappingURL=git-analyzer.d.ts.map