export interface RiskItem { category: string; level: '🔴' | '🟡' | '🟢'; description: string; mitigation: string; source: 'requirements' | '源码'; } export interface RiskScore { level: '🔴 high' | '🟡 medium' | '🟢 low'; score: number; tags: string[]; reasons: string[]; items: RiskItem[]; codeRisks: RiskItem[]; } /** * 根据任务需求内容 + 已有源码自动评分 */ export declare function scoreRisk(content: string, taskName: string, iterationDir?: string): Promise; /** * 生成详细风险报告(Markdown) */ export declare function generateRiskReport(risk: RiskScore): string; //# sourceMappingURL=risk-scorer.d.ts.map