export declare function fulfillsVersionRange({ version, acceptableVersions, canBeLatest, }: {
    version: string;
    acceptableVersions: string;
    canBeLatest: boolean;
}): boolean;
/**
 * Creates a version bucket function for analytics.
 * Converts versions like "1.2.3" to "1.x" for grouping in analytics.
 *
 * @param minMajorVersion - Optional minimum major version threshold.
 *   Versions below this will be bucketed as "<{min}.0.0"
 *
 * @example
 * const getVersionBucket = createVersionBucket(); // no minimum
 * getVersionBucket("1.2.3") // "1.x"
 *
 * const getVersionBucket = createVersionBucket(11);
 * getVersionBucket("15.3.0") // "15.x"
 * getVersionBucket("10.0.0") // "<11.0.0"
 */
export declare function createVersionBucket(minMajorVersion?: number): (version: string | undefined) => string;
