import type { IWorldDataReader } from '../../application/ports/outbound/IWorldDataReader.js'; import { type Structure, type WorldLevelData, type PlayerLocation, type DimensionPresence } from '../../domain/index.js'; /** * Prismarine-NBT based implementation of {@link IWorldDataReader}. * * Parses gzip-compressed `level.dat` / player `.dat` files (Minecraft NBT) * and inspects the world directory for dimension folders and region files. * 26.x worlds move many `level.dat` fields to `data/minecraft/*.dat`; each * field reads the new location first and falls back to the old one (#601). */ export declare class PrismarineWorldDataReader implements IWorldDataReader { readLevelData(worldPath: string): Promise; readPlayerData(worldPath: string): Promise; /** * Build a uuid -> username map from `usercache.json` (found beside the * world or in the worlds root). Returns an empty map when unavailable, * so player names are best-effort and never block parsing. */ private loadUserCache; detectDimensions(worldPath: string): Promise; countRegions(worldPath: string): Promise; readStructures(worldPath: string): Promise; } //# sourceMappingURL=PrismarineWorldDataReader.d.ts.map