import type { GitCommitEntry, DoraMetrics, DoraPerformanceTier } from '../../types/index.js';
import { classifyMetric, classifyTier } from './benchmarks.js';
/**
 * Calculates deployment frequency (deploys per week) from commits to main branch.
 */
export declare function calculateDeploymentFrequency(commits: GitCommitEntry[], periodDays: number): number;
/**
 * Calculates lead time in hours from merge commits.
 * Note: Without PR data, this is an approximation.
 */
export declare function calculateLeadTime(mergeCommits: GitCommitEntry[]): number;
/**
 * Calculates Change Failure Rate: % of commits to main that are reverts.
 */
export declare function calculateChangeFailureRate(commits: GitCommitEntry[]): number;
/**
 * Calculates MTTR (Mean Time to Restore) in hours.
 */
export declare function calculateMttr(commits: GitCommitEntry[]): number;
/**
 * Calculates DORA metrics from local git history.
 */
export declare function calculateDoraMetrics(projectPath: string, periodDays?: number): Promise<DoraMetrics>;
export type { DoraPerformanceTier };
export { classifyMetric, classifyTier };
//# sourceMappingURL=calculations.d.ts.map