/** * Confidence scoring for drift detection. * * Structural changes are always 100% confident since they are deterministic. */ import type { ChangeConfidence, ComparisonMethod, BehaviorChange, ToolDiff, DiffConfidence, BehaviorAspect } from './types.js'; /** * Structural aspects (deterministic comparison). */ export declare const STRUCTURAL_ASPECTS: BehaviorAspect[]; /** * Creates a 100% confidence result for structural changes. */ export declare function createStructuralConfidence(description: string): ChangeConfidence; /** * Determines the comparison method for a given aspect. * (All aspects are structural in this implementation) */ export declare function getComparisonMethod(_aspect: BehaviorAspect): ComparisonMethod; /** * Determines if an aspect is structural (deterministic). * (All aspects are structural in this implementation) */ export declare function isStructuralAspect(_aspect: BehaviorAspect): boolean; /** * Aggregates confidence scores from multiple changes into a single tool confidence. */ export declare function aggregateToolConfidence(changes: BehaviorChange[]): ChangeConfidence | undefined; /** * Aggregates confidence information for an entire diff. */ export declare function aggregateDiffConfidence(toolDiffs: ToolDiff[], behaviorChanges: BehaviorChange[]): DiffConfidence | undefined; /** * Gets a human-readable confidence label. */ export declare function getConfidenceLabel(score: number): 'high' | 'medium' | 'low' | 'very-low'; /** * Formats a confidence score for display. */ export declare function formatConfidenceScore(confidence: ChangeConfidence | undefined): string; /** * Filters changes by minimum confidence threshold. * (All structural changes pass any threshold since they're 100% confident) */ export declare function filterByConfidence(changes: T[], _minConfidence: number): T[]; /** * Checks if a diff meets the confidence threshold for CI. * (Always true for structural comparison) */ export declare function meetsConfidenceThreshold(_diff: { confidence?: DiffConfidence; }, _threshold: number): boolean; //# sourceMappingURL=confidence.d.ts.map