/**
 * Lead Time for Changes Calculator
 *
 * Calculates time from commit to deployment (DORA metric #2)
 * Data source: Git commits + GitHub Releases API
 */
import { Release, Commit, LeadTimeMetric } from '../types.js';
/**
 * Calculate Lead Time for Changes
 *
 * Methodology:
 * 1. For each release, find all commits since previous release
 * 2. Calculate time delta (commit date → release date) for each commit
 * 3. Compute average, P50, P90
 * 4. Classify into DORA tier
 *
 * @param releases - Array of GitHub releases (sorted by date desc)
 * @param commits - Array of Git commits
 * @returns Lead time metric
 */
export declare function calculateLeadTime(releases: Release[], commits: Commit[]): LeadTimeMetric;
//# sourceMappingURL=lead-time.d.ts.map