import { IBusyIndicator } from '@dolittle/tooling.common.utilities'; import { IConnectionChecker, ICanFindLatestVersionOfPackage } from '../internal'; /** * Gets the latest version of a package * * @export * @param {string} pkgName * @param {ICanFindLatestVersionOfPackage} latestPackageVersionFinder * @param {IConnectionChecker} connectionChecker * @param {IBusyIndicator} busyIndicator * @returns */ export declare function getLatestVersion(pkgName: string, latestPackageVersionFinder: ICanFindLatestVersionOfPackage, connectionChecker: IConnectionChecker, busyIndicator: IBusyIndicator): Promise; /** * Checks whether or not the 'to' version is greater than 'from' * * @export * @param {string} to * @param {string} from * @returns Whether to is a greater version than from */ export declare function isGreaterVersion(to: string, from: string): boolean; /** * Checks whether the upgrade 'to' 'from' is a compatible upgrade, meaning that both versions have the same major version number but 'to' is an upgrade in minor or patch compared to 'from' * * @export * @param {string} to * @param {string} from * @returns */ export declare function isCompatibleUpgrade(to: string, from: string): boolean;