import type { SolutionRepository } from '../db/repositories/solution.repository.js';
/**
 * Update confidence scores for all solutions based on their attempt history.
 */
export declare function updateSolutionConfidences(solutionRepo: SolutionRepository): number;
/**
 * Compute relevance decay factor for a timestamp.
 */
export declare function relevanceDecay(timestamp: string, halfLifeDays: number): number;
/**
 * Determine if a rule should be pruned based on its performance.
 */
export declare function shouldPruneRule(confidence: number, rejectionCount: number, totalUsage: number, pruneThreshold: number, maxRejectionRate: number): boolean;
