/** * [WHO]: Provides simplifyWithLLM(), buildUserPrompt(), SIMPLIFY_SYSTEM_PROMPT * [FROM]: Depends on ExtensionContext, simplify parser, and simplify type constants * [TO]: Consumed by extensions/optional/simplify/index.ts during file analysis * [HERE]: extensions/optional/simplify/simplify-analyzer.ts - LLM integration for simplify extension */ import type { ExtensionContext } from "../../../core/extensions-host/types.js"; import { type SimplifyOutput } from "./simplify-types.js"; /** * Build the user prompt for simplification */ export declare function buildUserPrompt(code: string, rules: string, diff?: string): string; /** * Simplify code using LLM via ctx.completeSimple() * * This replaces the previous manual model resolution with the simpler * ctx.completeSimple() pattern used by the interview extension. * * @param code - Original code to simplify * @param rules - Project rules (from CLAUDE.md, etc.) * @param diff - Git diff for the file (optional) * @param ctx - Extension context with completeSimple method * @returns SimplifyOutput with simplified code or null */ export declare function simplifyWithLLM(code: string, rules: string, diff: string | undefined, ctx: ExtensionContext): Promise;