/** 变更类别 */ export type ChangeCategory = 'field-change' | 'api-change' | 'flow-change' | 'ui-change' | 'logic-change' | 'config-change' | 'feature' | 'endpoint' | 'integration' | 'unknown'; /** 结构化变更需求 */ export interface ChangeRequest { title: string; description: string; type: 'change' | 'new' | 'unknown'; category: ChangeCategory; priority: 'low' | 'medium' | 'high' | 'critical'; affectedEntities: string[]; acceptanceCriteria: string[]; relatedTasks: string[]; notes: string; rawContent: string; } /** * 根据文件扩展名选择解析器 */ export declare function parseChangeFile(fileName: string, content: string): ChangeRequest; /** * 从描述文本推断变更类别(规则层,零成本) */ export declare function inferCategoryFromDescription(desc: string): { type: 'change' | 'new' | 'unknown'; category: ChangeCategory; }; //# sourceMappingURL=change-parser.d.ts.map