import type { ActualRecord, PredictionBucket, CorrectionResult, QuarterTrend } from '../types/index.js';
/**
 * Compute correction buckets from a list of historical actuals.
 * Groups records by `scope:type` and returns one PredictionBucket per group.
 * Callers are responsible for loading and merging records from one or more projects.
 */
export declare function computeCorrectionFactors(records: ActualRecord[]): PredictionBucket[];
/**
 * Apply a correction bucket to a raw estimation.
 * When bucket is undefined, returns the original hours with a wide interval.
 *
 * Confidence interval width:
 *   high   → ±10%
 *   medium → ±25%
 *   low    → ±40%
 */
export declare function applyCorrection(estimatedHours: number, bucket: PredictionBucket | undefined): CorrectionResult;
/**
 * Group actuals into quarters and compute avgBias per quarter.
 * Returns quarters sorted chronologically.
 * Useful for detecting whether estimates improve over time (trending toward 1.0).
 */
export declare function computeCalibrationTrend(records: ActualRecord[]): QuarterTrend[];
//# sourceMappingURL=estimation-predictor.d.ts.map