/**
 * dependency_audit — composite tool that runs 4 dependency health checks
 * in parallel: vulnerabilities, licenses, freshness, and lockfile integrity.
 * Wraps existing CLI tools (npm/pnpm/yarn/bun audit + outdated).
 */
export type Severity = "low" | "moderate" | "high" | "critical";
export interface Vulnerability {
    package: string;
    severity: Severity;
    via: string[];
    fix_available: boolean;
    advisory_url?: string;
}
export interface LicenseInfo {
    package: string;
    license: string;
    is_problematic: boolean;
}
export interface OutdatedPackage {
    package: string;
    current: string;
    latest: string;
    major_gap: number;
}
export interface LockfileIssue {
    type: "missing" | "drift" | "duplicate";
    package?: string;
    message: string;
}
export type PackageManager = "npm" | "pnpm" | "yarn" | "bun" | "unknown";
export interface DependencyAuditResult {
    workspace: string;
    package_manager: PackageManager;
    vulnerabilities: {
        total: number;
        by_severity: {
            critical: number;
            high: number;
            moderate: number;
            low: number;
        };
        findings: Vulnerability[];
    };
    licenses: {
        total: number;
        problematic: LicenseInfo[];
        distribution: Record<string, number>;
    };
    freshness: {
        outdated_count: number;
        major_gaps: OutdatedPackage[];
    };
    lockfile: {
        present: boolean;
        issues: LockfileIssue[];
    };
    duration_ms: number;
    errors: string[];
}
export declare function dependencyAudit(repo: string, options?: {
    workspace_path?: string;
    skip_licenses?: boolean;
    min_severity?: Severity;
}): Promise<DependencyAuditResult>;
//# sourceMappingURL=dependency-audit-tools.d.ts.map