/**
 * LLM-based security analysis engine.
 *
 * Performs deeper analysis on Tier 1 flagged files using an LLM
 * (via subprocess). Traces data flows and identifies complex
 * vulnerabilities that regex patterns alone cannot detect.
 */
import type { AuditConfig, AuditFile, AuditFinding } from "./audit-types.js";
/**
 * Build a security analysis prompt for the LLM.
 */
export declare function buildLlmPrompt(file: AuditFile, tier1Findings: AuditFinding[]): string;
/**
 * Parse the LLM's JSON response into AuditFinding objects.
 */
export declare function parseLlmResponse(response: string, filePath: string): AuditFinding[];
/**
 * Run LLM analysis on flagged files.
 *
 * @param files - Files that had Tier 1 findings
 * @param tier1Findings - All Tier 1 findings (to provide context)
 * @param config - Audit configuration
 * @returns Additional findings from LLM analysis
 */
export declare function runLlmAnalysis(files: AuditFile[], tier1Findings: AuditFinding[], config: AuditConfig): Promise<AuditFinding[]>;
