export declare const version: string; /** * Compares two versions and returns the relative order: * * - -1 if the version1 string is less than version2 * - 0 if the two versions are equal * - 1 if the version1 string is greater than version2. * * @param version1 First version. * @param version2 Second version. */ export declare function compareVersions(version1: string, version2: string): number; /** * Parse version and returns an array of its parts. Strips out semantic metadata * and tags. * * @param version The version string to parse. */ export declare function parseVersion(version: string): number[];