/** * Minecraft Versions Service * * Fetches and caches Minecraft release versions from Mojang's API. * Uses the unified cache system for integrity-protected storage. * Provides fallback to cached data and hardcoded versions for offline use. */ /** * Get Minecraft release versions. * * Priority: * 1. Valid cache (< 24h old) - fastest * 2. Fresh fetch from Mojang API * 3. Stale cache (any age) - better than nothing * 4. Hardcoded fallback list - last resort * * @param limit Maximum number of versions to return (default 10) * @returns Array of version strings, newest first */ export declare function getMinecraftVersions(limit?: number): Promise; /** * Force refresh the version cache from Mojang API. * Returns the new version list or throws if fetch fails. */ export declare function refreshMinecraftVersions(limit?: number): Promise; /** * Get the latest Minecraft release version. */ export declare function getLatestMinecraftVersion(): Promise; /** * Check if a version string is a valid Minecraft version format. */ export declare function isValidVersionFormat(version: string): boolean; /** * Get cache status for Minecraft versions */ export declare function getMinecraftVersionsCacheStatus(): Promise<{ isCached: boolean; isFresh: boolean; lastFetched: string | null; ageMs: number; }>; //# sourceMappingURL=minecraft-versions.d.ts.map