/** * McVersion Value Object * Represents a validated Minecraft version */ export declare class McVersion { private readonly _value; private readonly _major; private readonly _minor; private readonly _patch; private constructor(); get value(): string; get major(): number; get minor(): number; get patch(): number; /** * Returns the recommended Java version for this Minecraft version */ get recommendedJavaVersion(): number; /** * Returns the recommended Docker image tag for this Minecraft version. * The itzg/minecraft-server latest/stable tag now defaults to Java 25, * but MC gameplay requirements differ from available image tags. */ get recommendedImageTag(): string; /** * Check if this version is compatible with Java version */ isCompatibleWithJava(javaVersion: number): boolean; static create(value: string): McVersion; static latest(): McVersion; /** * Compare versions * Returns: negative if this < other, 0 if equal, positive if this > other */ compareTo(other: McVersion): number; isNewerThan(other: McVersion): boolean; isOlderThan(other: McVersion): boolean; equals(other: McVersion): boolean; toString(): string; } //# sourceMappingURL=McVersion.d.ts.map