/** * 需求分析器服务 * * 设计理念:参考 tech-spec-generator 的处理方式 * 1. 工具拆分:项目工具、章节保存工具、渲染工具分离 * 2. 简化入参:每个工具只接收必要的参数 * 3. 数据库存储:通过 requirementDbOperations 进行章节存储 * 4. 渲染时合并:最终渲染时从数据库读取并合并 */ export { createRequirementProjectTool, getRequirementProgressTool, listRequirementProjectsTool, } from "./tools/project-tools"; export { saveBackgroundChapterTool, saveDesignChapterTool, saveDataModelChapterTool, saveApiChapterTool, saveSequenceChapterTool, saveStatusChapterTool, savePseudocodeChapterTool, saveLayoutChapterTool, saveStyleChapterTool, saveInteractionChapterTool, saveComponentChapterTool, } from "./tools/chapter-tools"; export { renderRequirementDocumentTool, generateHtmlPrototypeTool, analyzeAndGenerateTool, } from "./tools/render-tools"; /** * 需求分析器工具集合 */ export declare const requirementAnalyzerTools: ({ name: string; description: string; inputSchema: { name: import("zod").ZodString; domain: import("zod").ZodString; projectPath: import("zod").ZodString; docType: import("zod").ZodDefault>; pageType: import("zod").ZodOptional>; }; handler: (args: any) => Promise<{ content: { type: string; text: string; }[]; isError: boolean; } | { content: { type: string; text: string; }[]; isError?: undefined; }>; } | { name: string; description: string; inputSchema: { projectUuid: import("zod").ZodString; }; handler: (args: any) => Promise<{ content: { type: string; text: string; }[]; isError: boolean; } | { content: { type: string; text: string; }[]; isError?: undefined; }>; } | { name: string; description: string; inputSchema: { limit: import("zod").ZodDefault>; }; handler: (args: any) => Promise<{ content: { type: string; text: string; }[]; isError?: undefined; } | { content: { type: string; text: string; }[]; isError: boolean; }>; })[]; /** * 主工具(向后兼容) */ export declare const requirementAnalyzerTool: { name: string; description: string; inputSchema: { name: import("zod").ZodString; domain: import("zod").ZodString; projectPath: import("zod").ZodString; docType: import("zod").ZodDefault>; pageType: import("zod").ZodOptional>; }; handler: (args: any) => Promise<{ content: { type: string; text: string; }[]; isError: boolean; } | { content: { type: string; text: string; }[]; isError?: undefined; }>; }; export type { RequirementProject, ReqChapter, ReqChapterType, } from "../../db/requirement-storage"; //# sourceMappingURL=index.d.ts.map