import type { AuditedDependency, DependencyStatusCode, DepSeverity, StackHealthScore } from '../../types/index.js';
/** Map severity codes to display labels. */
export declare function severityLabel(code: DepSeverity): string;
/**
 * Parse a semver string into its components.
 * Returns null for non-semver strings.
 */
export declare function parseSemver(v: string): {
    major: number;
    minor: number;
    patch: number;
} | null;
/**
 * Compare current vs latest version and return a status code.
 * If parsing fails, returns 'outdated_minor' as a safe default.
 */
export declare function classifyDepStatus(currentVer: string, latestVer: string): DependencyStatusCode;
/**
 * Build top-5 action strings from the dep list and computed score.
 */
export declare function getTopActions(deps: AuditedDependency[], score: StackHealthScore): string[];
/**
 * Compute the StackHealthScore from a list of audited dependencies.
 */
export declare function calculateHealthScore(deps: AuditedDependency[]): StackHealthScore;
//# sourceMappingURL=health-scorer.d.ts.map