/*!
 * name: nuget-server
 * version: 0.19.0
 * description: NuGet server on Node.js
 * author: Kouji Matsui (@kekyo@mi.kekyo.net)
 * license: MIT
 * repository.url: https://github.com/kekyo/nuget-server.git
 * git.commit.hash: 5b9501882b352a0490b3091210ed1740cfb81389
 */

/**
 * Compares two semantic versions
 * @param a - First version string
 * @param b - Second version string
 * @returns Negative if a < b, positive if a > b, zero if equal
 */
export declare const compareVersions: (a: string, b: string) => number;
/**
 * Sorts an array of version strings
 * @param versions - Array of version strings
 * @param order - Sort order: 'asc' for ascending (oldest first), 'desc' for descending (newest first)
 * @returns Sorted array of version strings
 */
export declare const sortVersions: (versions: string[], order?: "asc" | "desc") => string[];
/**
 * Gets the latest version from an array of version strings
 * @param versions - Array of version strings
 * @returns The latest version string, or undefined if array is empty
 */
export declare const getLatestVersion: (versions: string[]) => string | undefined;
//# sourceMappingURL=semver.d.ts.map