import type * as BalenaSdk from '..';
export declare const getDeviceOsSemverWithVariant: ({ os_version, os_variant, }: Pick<BalenaSdk.Device, "os_version" | "os_variant">) => string | null;
/**
 * @summary Ensure version compatibility using balena-semver
 * @name ensureVersionCompatibility
 * @private
 * @function
 *
 * @param {String} version - version under check
 * @param {String} minVersion - minimum accepted version
 * @throws {Error} Will reject if the given version is < than the given minimum version
 * @returns {void}
 *
 * @example
 * ensureVersionCompatibility(version, MIN_VERSION)
 * console.log('Is compatible');
 *
 */
export declare const ensureVersionCompatibility: (version: string | null, minVersion: string, versionType: "supervisor" | "host OS") => void;
