import { type RuntimeProfile, type WorldRelease } from '@hypersoniclabs/helix-manifest'; import { AvatarMode } from './avatarMode'; /** * Builds the Continuum World Release document for a cooked Unreal World. * * NOTHING HERE IS DESIGNED. Every shape below is read from the contracts the * web team already owns in helix-manifest, and the document is handed to their * own `validateWorldRelease` before it is written — if this file disagrees with * the contract, the command fails rather than emitting something plausible. * * The Unreal runtime profile in particular is not invented: helix-manifest * defines it, comments it in runtime-profile.ts ("the Unreal runtime profile * ('windows' / 'unreal-5.8') mounts cooked Unreal Worlds and never reads Scene * documents") and exercises it in unreal-world.spec.ts. This ports that exact * profile rather than choosing one. */ /** The profile helix-manifest defines for a cooked Unreal World. */ export declare const UNREAL_RUNTIME_PROFILE: RuntimeProfile; export type UnrealReleaseOptions = { /** A publish output directory: the one holding world-build-manifest.json. */ publishDir: string; /** The Continuum package this World's descriptor was published as. */ packageId: string; packageVersion: string; /** Release identity. Both are UUIDs in the contract. */ releaseId: string; worldId: string; version: string; outPath?: string; maxPlayers?: number; contentRating?: 'everyone' | 'teen' | 'mature'; /** Avatar appearance policy. Default: 'universal' (absent from the release). */ avatarMode?: AvatarMode; }; export type UnrealReleaseResult = { outPath: string; release: WorldRelease; /** Artifact CIDs the runtime must have before the World can open. */ readyCids: string[]; }; export declare function buildUnrealWorldRelease(options: UnrealReleaseOptions): Promise;