import { type SecurityRule } from "../data/rules/index.js"; export interface StructuredEdit { startLine: number; endLine: number; oldText: string; newText: string; imports?: string[]; } export interface FixSuggestion { ruleId: string; ruleName: string; severity: string; line: number; match: string; description: string; fix: string; fixCode?: string; patch?: string; edit?: StructuredEdit; confidence: "high" | "medium" | "low"; effort: 1 | 2 | 3; } /** * Analyze code and return structured fix suggestions that an AI agent can apply. */ export declare function fixCode(code: string, language: string, framework?: string, filePath?: string, format?: "markdown" | "json", rules?: SecurityRule[]): string;