/** * @fileoverview Risk trend detection for supply chain attack monitoring * @module @skillsmith/core/security/risk-trend * @see SMI-3874: Risk Trend Detection */ import type { RiskScoreSnapshot } from '../repositories/RiskScoreHistoryRepository.js'; export interface RiskTrendResult { anomaly: boolean; message: string; currentScore: number; previousScore: number | null; delta: number; } /** * Detect anomalous risk score changes that may indicate supply chain attacks. * Thresholds: 20pt warning, 35pt critical, 40pt boundary crossing. */ export declare function detectRiskTrend(currentScore: number, history: RiskScoreSnapshot[], options?: { isNewCategoryBaseline?: boolean; }): RiskTrendResult; //# sourceMappingURL=risk-trend.d.ts.map