export interface SemgrepFinding { path: string; line: number; rule: string; message: string; severity: "INFO" | "WARNING" | "ERROR"; } /** Check if semgrep is installed. */ export declare function isSemgrepInstalled(): Promise; /** * Run semgrep on a project and return normalized findings. * Returns empty array if semgrep is not installed or fails. */ export declare function runSemgrep(projectPath: string): Promise; /** Map semgrep severity to audit security severity. */ export declare function semgrepSeverityToAudit(s: SemgrepFinding["severity"]): "critical" | "high" | "low"; /** Format semgrep findings as a markdown section. */ export declare function formatSemgrepSection(findings: SemgrepFinding[]): string;