export interface SpecRules { exceptionHandler: 'BusinessException' | 'none'; responseFormat: 'Result' | 'ResponseEntity'; orm: 'JPA' | 'MyBatis-Plus'; naming: { controller: string; service: string; repository: string; dto: string; }; validation: boolean; } /** 从 CONSTITUTION.md 加载 Spec 规则 */ export declare function loadSpecRules(): Promise; /** 根据规则生成 Controller 的 import 语句 */ export declare function generateImports(rules: SpecRules, className: string): string; /** 根据规则确定方法返回类型 */ export declare function getReturnType(rules: SpecRules, dtoName: string): string; /** 根据规则确定 TODO 实现提示 */ export declare function getTodoHint(rules: SpecRules): string; export type SupportedLanguage = 'java' | 'typescript' | 'go' | 'python' | 'unknown'; export interface TechStack { language: SupportedLanguage; backendFramework: string; orm: string; frontendFramework: string; } /** 从 TECH_STACK.md 加载技术栈配置 */ export declare function loadTechStack(): Promise; //# sourceMappingURL=spec-rules.d.ts.map