export interface AuditDimension { /** 维度名称 */ name: string; /** 是否通过 */ pass: boolean; /** 详情 */ detail: string; /** 严重级别 */ severity: 'error' | 'warn' | 'info'; } export interface PlatformAudit { /** 端名称 */ platform: string; /** 端类型分类 */ type: 'backend' | 'frontend' | 'service'; /** 各维度检查结果 */ dimensions: AuditDimension[]; /** 总体通过率 */ passRate: number; /** 总评 */ verdict: 'pass' | 'warn' | 'fail'; } export interface QualityAuditResult { /** 文档名称 */ document: string; /** 各端审计结果 */ platforms: PlatformAudit[]; /** 全局审计维度 */ global: AuditDimension[]; /** 总体评分 (0-100) */ score: number; /** 总体结论 */ verdict: 'pass' | 'warn' | 'fail'; /** 修复建议 */ suggestions: string[]; /** 推荐修复轮次 */ recommendedRounds: number; } export declare function auditDocument(content: string, docType: string, platforms: string[]): Promise; export declare function generateQualityAudit(specDir: string, platforms: string[], maxRounds?: number): Promise; //# sourceMappingURL=quality-audit.d.ts.map