import { type HelixSceneV2 } from '@hypersoniclabs/helix-manifest'; import type { SceneElementsDocument } from './types'; /** Bundle-relative bytes a compiled document expects beside itself: the caller copies each to `/`. */ export type SceneBundleFile = { uri: string; /** Absolute path of the authored file the uri is served from. */ path: string; bytes: number; sha256: string; }; export type CompileSceneElementsOptions = { /** Directory the document's relative paths resolve against — normally the elements file's own folder. */ baseDir?: string; }; export type SceneElementsCompilation = { scene: HelixSceneV2; bundleFiles: SceneBundleFile[]; }; export declare function compileSceneElementsBundle(input: SceneElementsDocument, options?: CompileSceneElementsOptions): SceneElementsCompilation; /** The sealed document alone, for callers that ship no bundle bytes beside it. */ export declare function compileSceneElements(input: SceneElementsDocument, options?: CompileSceneElementsOptions): HelixSceneV2;