import { Dimension } from '../../domain/index.js'; /** A dimension and the resolved directory holding its region (`.mca`) files. */ export interface DimensionRegionDir { dimension: Dimension; dir: string; /** * World-save root that holds {@link dir}: the world itself, or a Paper * satellite (`_nether` / `_the_end`). BlueMap mounts this and * resolves `DIM-1`/`DIM1`/`dimensions/minecraft/` below it. * {@link resolveRegionDirs} always sets it; it is optional only so v2 * `{ dimension, dir }` objects still type-check (#715 policy). */ root?: string; } /** True when a directory holds at least one `.mca` region file. */ export declare function hasRegionData(dir: string): boolean; /** * Resolve each present dimension's region directory for a world, handling * vanilla (DIM-1/DIM1), Paper/Spigot split-folder (`_nether` / * `_the_end`) and latest-Minecraft (`dimensions/minecraft//region`, * #546) layouts. A candidate only wins if it actually contains region data; * when several layouts hold data the more recently written one is chosen, so a * stale layout never shadows the active one. Single source of truth shared by * the structure reader (#530), block scanner (#531) and map renderer (#733). */ export declare function resolveRegionDirs(worldPath: string): DimensionRegionDir[]; //# sourceMappingURL=dimensionRegions.d.ts.map