import type { Paths } from '../../../utils/index.js'; /** * Where a server's world is before the server directory is deleted (#652, * delete-server.sh plan_worlds / worlds_outside_server, #735). Worlds outlive * their server: without deleteWorld nothing is deleted unless every world * inside the server is located and can move to worlds/. */ export interface ServerWorldPlan { /** LEVEL as the world assignments read it (ADR-0002); undefined when undetermined. */ level?: string; /** data/, data/_nether, data/_the_end that are real folders. */ internal: string[]; /** worlds/ exists and stays where it is. */ keptWorld?: string; } /** * Plan what happens to the server's worlds; rejects ServerSpecError when that * is not safe. worlds/ resolving inside the server is refused even with * deleteWorld: that would delete worlds that are not the server's. */ export declare function planServerWorlds(paths: Paths, name: string, deleteWorld: boolean): Promise; //# sourceMappingURL=serverWorldPlan.d.ts.map