/** * ATR Coverage Analyzer - Analyzes rule sets for coverage gaps * against OWASP Agentic Top 10 and MITRE ATLAS frameworks. * @module agent-threat-rules/coverage-analyzer */ import type { ATRRule } from './types.js'; export interface CoverageGap { framework: string; riskId: string; riskName: string; currentRuleCount: number; recommendedMin: number; } export interface CoverageReport { totalRules: number; gaps: CoverageGap[]; categoryDistribution: Record; suggestions: string[]; } export declare class CoverageAnalyzer { private readonly rules; constructor(rules: readonly ATRRule[]); /** * Analyze the rule set for coverage gaps against OWASP Agentic Top 10, * MITRE ATLAS, and ATR category distribution. */ analyze(): CoverageReport; /** * Count how many active rules cover a given framework item, * either by ATR category match or by explicit reference in rule metadata. */ private countCoveringRules; /** * Build a distribution count of rules per ATR category. */ private buildCategoryDistribution; /** * Generate human-readable suggestions based on identified gaps * and category distribution. */ private generateSuggestions; } //# sourceMappingURL=coverage-analyzer.d.ts.map