/** * WorldOptions Value Object * Represents world configuration options for server creation */ export declare enum WorldSetupType { NEW = "new", EXISTING = "existing", DOWNLOAD = "download" } export interface WorldOptionsData { setupType: WorldSetupType; seed?: string; worldName?: string; downloadUrl?: string; } export declare class WorldOptions { private readonly _data; private constructor(); get setupType(): WorldSetupType; get seed(): string | undefined; get worldName(): string | undefined; get downloadUrl(): string | undefined; get isNewWorld(): boolean; get isExistingWorld(): boolean; get isDownloadWorld(): boolean; /** * Create new world options (optionally with seed) */ static newWorld(seed?: string): WorldOptions; /** * Use existing world from worlds/ directory */ static existingWorld(worldName: string): WorldOptions; /** * Download world from URL (ZIP file) */ static downloadWorld(url: string): WorldOptions; /** * Default: new world without seed */ static default(): WorldOptions; equals(other: WorldOptions): boolean; toString(): string; } //# sourceMappingURL=WorldOptions.d.ts.map