import { SemanticVersion } from './isSemanticVersion.js';
/**
 * Compares two semantic versions.
 *
 * - `1` if a > b
 * - `0` if a == b
 * - `-1` if a < b
 *
 * @param a	First semantic version to compare.
 * @param b Second semantic version to compare.
 * @returns Comparison result.
 */
export declare function compareSemanticVersions(a: SemanticVersion, b: SemanticVersion): VersionCompareResult;
/**
 * Result of the versions comparison.
 */
export type VersionCompareResult = 0 | 1 | -1;
