/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ /** * The result of checking whether a version is the latest stable version for its major. */ export type LatestVersionCheckResult = { isLatest: true; majorVersion: number; } | { isLatest: false; latestVersion: string | undefined; majorVersion: number; }; /** * Determines whether `inputVersion` is the latest stable version for its semver major * among the provided `allVersions` list. * * @param allVersions - All version strings to consider (may include internal/prerelease versions). * @param inputVersion - The version string to check. * @returns A {@link LatestVersionCheckResult} describing the outcome. */ export declare function isLatestInMajor(allVersions: string[], inputVersion: string): LatestVersionCheckResult; //# sourceMappingURL=latestVersions.d.ts.map