/** * 代码审查 Prompt 构建器 * 负责组装模板和解析响应 */ import type { ReviewFocus } from "../types/review.js"; export interface PromptParams { /** 代码内容 */ code: string; /** 关注领域 */ focus: ReviewFocus; /** 附加上下文 */ context?: string; } /** * 生成代码审查的系统提示词 */ export declare function buildSystemPrompt(focus: ReviewFocus): string; /** * 生成代码审查的用户提示词 */ export declare function buildUserPrompt(params: PromptParams): string; /** * 解析 LLM 返回的 JSON 结果 */ export declare function parseReviewResponse(response: string): Record; //# sourceMappingURL=review-prompt.d.ts.map