import type { PhibelleScene } from "../types.js"; /** Scene-level file names in app/. */ export declare const SCENE_SCRIPT_FILE = "scene-script.tsx"; export declare const SCENE_PROPERTIES_FILE = "scene-properties.json"; /** Entity filenames inside an entity folder. */ export declare const ENTITY_SCRIPT_FILE = "script.tsx"; export declare const ENTITY_PROPERTIES_FILE = "properties.json"; export declare const ENTITY_TRANSFORMS_FILE = "transforms.json"; export declare function parseSceneJson(content: string): PhibelleScene; /** Convert entity display name to slug: "Main Enemy" -> "main-enemy". */ export declare function entityNameToSlug(name: string): string; /** Convert slug to display name: "main-enemy" -> "Main Enemy". */ export declare function slugToEntityName(slug: string): string; export type UnpackageOptions = { /** When true, write `uninitialized`; when false, remove it. */ uninitialized?: boolean; }; /** Unpackage scene JSON to filesystem. No DB; accepts full scene JSON string. */ export declare function unpackageScene(sceneJson: string, sceneDir: string, sceneId?: string, templateId?: string, options?: UnpackageOptions): Promise; export declare function patchSceneFromFile(sceneJson: string, sceneDir: string, _relativePath: string, _eventType: "change" | "add" | "unlink" | "addDir" | "unlinkDir"): Promise; export declare function packageSceneFromFilesystem(sceneJson: string, sceneDir: string): Promise;