import { wilsonScore } from '@timmeck/brain-core';
export { wilsonScore };
/**
 * Time-decayed confidence: recent successes count more.
 */
export declare function timeDecayedConfidence(successes: number, total: number, lastUsedAt: string, halfLifeDays: number): number;
/**
 * Combined confidence from success rate + usage frequency + recency.
 */
export declare function computeConfidence(successCount: number, failCount: number, lastUsedAt: string, halfLifeDays?: number): number;
export interface AdaptiveThresholds {
    minOccurrences: number;
    minSuccessRate: number;
    minConfidence: number;
    pruneThreshold: number;
}
/**
 * Compute adaptive thresholds based on data volume.
 * Users with lots of data need stricter thresholds; users with little data need looser ones.
 */
export declare function computeAdaptiveThresholds(totalErrors: number, totalSolutions: number, baseConfig: {
    minOccurrences: number;
    minSuccessRate: number;
    minConfidence: number;
    pruneThreshold: number;
}): AdaptiveThresholds;
