import { Command } from 'commander'; export interface SecurityAgentOptions { } export interface SecurityAgentResult { /** Nombre total de vulnérabilités détectées */ total: number; /** Nombre de vulnérabilités corrigeables */ fixable: number; /** Répartition des vulnérabilités par sévérité */ bySeverity: { critical: number; high: number; moderate: number; low: number; }; /** Top 5 des paquets les plus vulnérables */ topPackages: Array<{ package: string; count: number; }>; /** Chemin vers le rapport brut (audit-report.json) */ detailPath: string; /** Liste brute des vulnérabilités */ vulnerabilities: unknown[]; } /** * Analyse les vulnérabilités via pnpm audit. */ export declare function securityAgent(_opts?: SecurityAgentOptions): Promise; export declare const cli: { command: string; description: string; builder: (cmd: Command) => Command; handler: (_opts: unknown) => Promise; };