import type { Spec, SpecType, SpecScope, Difficulty, Estimation, EstimateResult, MetricEntry, GlobalConfig, CalibrationState } from '../../types/index.js';
/**
 * Infer difficulty from type and scope when not explicitly provided.
 */
export declare function inferDifficulty(type: SpecType, scope: SpecScope): Difficulty;
/**
 * Calculate accuracy score comparing estimation vs actuals.
 * Returns 0-100 where 100 = perfectly accurate.
 */
export declare function calculateAccuracy(estimated: Estimation, actualHours: number): number;
/**
 * Estimate effort, tokens, and cost for a spec.
 * TEMPLATE METHOD PATTERN: fixed algorithm with optional calibration hook (SPEC-011).
 */
export declare function estimateSpec(spec: Spec, config?: Partial<GlobalConfig>, history?: MetricEntry[], calibration?: CalibrationState | null): EstimateResult;
//# sourceMappingURL=history.d.ts.map