/** * SMI-1189: Skill Categorizer * * Skill categorization and severity determination logic. */ import type { SecurityFinding } from '../../security/index.js'; import type { SeverityCategory } from './types.js'; export type { SeverityCategory }; /** * Determines the severity category based on the highest severity finding * * @param findings - Array of security findings * @returns The highest severity category found */ export declare function determineSeverityCategory(findings: SecurityFinding[]): SeverityCategory; /** * Initialize empty severity counts * * @returns Record with all severity categories set to 0 */ export declare function initializeSeverityCounts(): Record; /** * Count skills by severity category * * @param results - Array of scan results with severity categories * @returns Record mapping severity categories to counts */ export declare function countBySeverity(results: Array<{ severityCategory: SeverityCategory; }>): Record; /** * Sort severity categories by priority (most severe first) */ export declare const SEVERITY_PRIORITY: SeverityCategory[]; /** * Compare two severity categories * * @param a - First severity category * @param b - Second severity category * @returns Negative if a is more severe, positive if b is more severe */ export declare function compareSeverity(a: SeverityCategory, b: SeverityCategory): number; //# sourceMappingURL=categorizer.d.ts.map