/** * Lightweight semver comparison. Not a full semver implementation — * just enough to compare image tags from container registries. * * Handles: * - optional "v" prefix ("v1.2.3" === "1.2.3") * - missing patch ("1.5" === "1.5.0") * - prerelease tails ("2.0.0-beta1" < "2.0.0") * - unequal segment counts ("1.2" < "1.2.1") * * Returns: * -1 if a < b * 0 if a === b * 1 if a > b * * Throws nothing — non-parseable input compares as equal to itself * and unequal to anything else, with the lexically-smaller string * being "less". Caller should classify the tag first via tagClassifier * and only call compareVersions for tagKind === "semver". */ export declare function compareVersions(a: string, b: string): -1 | 0 | 1; //# sourceMappingURL=semver.d.ts.map