import { MockViolation } from '../types/mockdetector.types'; import { DatabaseViolation } from '../types/database.types'; /** * Get severity score for prioritization */ export declare const getSeverityScore: (severity: string) => number; /** * Calculate priority score (severity × confidence) for smart sorting */ export declare const getPriorityScore: (violation: MockViolation | DatabaseViolation) => number; /** * ✅ PHASE 3: Confidence Scoring System * Calculates how confident we are that a violation is REAL mock data (not a false positive) * Scale: 0-100% * - 90-100%: Very confident (definitely mock data) * - 70-89%: High confidence (likely mock data) * - 50-69%: Medium confidence (possibly mock data) * - 30-49%: Low confidence (uncertain) * - 0-29%: Very low confidence (likely false positive) */ export declare function calculateViolationConfidence(violation: MockViolation | DatabaseViolation): number; /** * Get confidence level label */ export declare function getConfidenceLevel(confidence: number): { level: 'very_high' | 'high' | 'medium' | 'low' | 'very_low'; label: string; color: string; emoji: string; }; /** * Filter violations by minimum confidence threshold */ export declare function filterByConfidence(violations: T[], minConfidence?: number): Array; /** * Group violations by confidence level */ export declare function groupByConfidence(violations: T[]): { veryHigh: Array; high: Array; medium: Array; low: Array; veryLow: Array; };