export interface NpmAuditError {
    stdout: string;
    stderr: string;
    code: number;
}
export interface NpmAuditResult {
    auditReportVersion?: number;
    vulnerabilities?: Record<string, NpmAuditVulnerability>;
    metadata?: {
        vulnerabilities?: {
            critical?: number;
            high?: number;
            moderate?: number;
            low?: number;
            info?: number;
        };
        dependencies?: {
            prod?: number;
            dev?: number;
            optional?: number;
            total?: number;
        };
    };
}
export interface NpmAuditVulnerability {
    name: string;
    severity: 'critical' | 'high' | 'moderate' | 'low';
    isDirect: boolean;
    via: (string | {
        source: number;
        name: string;
        dependency: string;
        title: string;
        url: string;
        severity: string;
        cve: string[];
        range: string;
    })[];
    effects: string[];
    range: string;
    fixAvailable: {
        name: string;
        version: string;
        isSemVerMajor: boolean;
    } | false;
    nodes: string[];
}
//# sourceMappingURL=npm-audit.d.ts.map