/**
 * Shared semver comparison utility for plugin version directory sorting.
 *
 * Handles non-numeric segments (e.g., "1.0.0-beta") by treating NaN as 0,
 * and sorts in descending order so the latest version comes first.
 *
 * @since 1.0.540
 */
/**
 * Compare two semver-like version strings in descending order.
 * Returns negative if `a` should come first (a > b).
 *
 * Handles:
 * - Standard semver: "1.0.0", "2.3.1"
 * - Non-numeric segments: "1.0.0-beta" → NaN segment treated as 0
 * - Missing segments: "1.0" vs "1.0.0" → missing treated as 0
 */
export declare function compareSemverDesc(a: string, b: string): number;
//# sourceMappingURL=semver-sort.d.ts.map