export interface DetectedStack { backend?: string; backendSource?: string; frontend?: string; frontendSource?: string; database?: string; databaseSource?: string; language?: string; languageSource?: string; } export interface EnhanceOptions { /** 端名列取值(init 传项目名;不传则「待填写」) */ platformName?: string; /** true = 模板刚生成,直接替换示例行(init 用);false = 存量文件,未填才补(update 用) */ freshTemplate?: boolean; } /** 检测技术栈(pom.xml / build.gradle / package.json / go.mod / requirements.txt / 源码扫描) */ export declare function detectStack(cwd: string): Promise; /** * 检测并完善 .speccore/CONSTITUTION.md 的「## 技术栈」节。 * @returns true = 已写入;false = 无需写入(已配置 / 检测不到 / 旧格式仅提示 / 文件不存在) */ export declare function enhanceConstitutionTechStack(projectRoot: string, options?: EnhanceOptions): Promise; /** constitution 命令入口:存量文件手动完善(已填行不动,未填才补) */ export declare function buildConstitution(cwd: string): Promise; //# sourceMappingURL=constitution-builder.d.ts.map