import type { StabilityFilter, StabilityType } from "./types.js"; export declare function classifyVersion(version: string): StabilityType; export declare function findLatestVersion(versions: string[], filter?: StabilityFilter): string | undefined; /** * Find the latest version that is at least as stable as the current version. * E.g., if current is beta, returns latest beta/rc/stable (not alpha/snapshot). * If current is stable, returns only stable. */ export declare function findLatestVersionForCurrent(versions: string[], currentVersion: string): string | undefined;