import { osType, versionNames } from './types';
export declare function pickJson(os: osType): versionNames;
/**
 * Removes "1.0.x" part from "iPhone OS 1.0.x".
 */
export declare function versionNameWithoutSuffix(versionName: string): string;
/**
 * Removes ".2" part from "1.0.2".
 */
export declare function versionNumberWithoutPatch(versionNumber: string): string;
/**
 * Adds minor ".0" part if it's missing.
 * e.g. `15` becomes `15.0`.
 */
export declare function addMinorZero(version: string): string;
/**
 * Checks whether the version-number has patch part or not.
 * e.g. `10.0.1` has patch, and `10.0` has not.
 */
export declare function hasPatch(versionNumber: string): boolean;
