import { NormalizedHelixManifest } from "@hypersoniclabs/helix-manifest"; import { type ExactEnginePin } from "./enginePins"; export type BundleFile = { path: string; size: number; absolutePath: string; content?: Buffer; }; export type BundleCheck = { manifest: NormalizedHelixManifest | null; files: BundleFile[]; /** Root-relative paths `.helixignore` kept out of `files` — and so out of the size/count budgets. Sorted. */ excluded: string[]; errors: string[]; /** Not publish-blocking, but the creator must SEE them. See streamablePayload. */ warnings: string[]; /** One line per optional contract file that IS present, saying what it declares. Nothing is wrong. */ notes: string[]; /** Platform systems delivered as an exact immutable build (see enginePins.ts). Present only when some are. */ exactEnginePins?: ExactEnginePin[]; }; export declare function streamablePayload(files: BundleFile[]): { files: BundleFile[]; bytes: number; }; export declare const HELIXIGNORE_FILENAME = ".helixignore"; export declare const PLATFORM_THREE_VERSION = "0.185.1-helix.1"; export declare function hostedThreeVersion(html: string): string | null; /** The numeric x.y.z ahead of any platform patch tag — the only part that orders three versions. */ export declare function threeBaseVersion(version: string): string; export declare function behindPlatformThree(version: string): boolean; /** A streamed terrain has no baked probe field: the ground arrives after the bake would have been taken. */ export declare const TILED_TERRAIN_BAKED_LIGHTING_WARNING = "tiled terrain with baked lighting: terrain worlds run dynamic GI"; /** * The one lighting rule the file walk cannot reach: a scene world keeps its documents behind * `.helixignore`, so the pinned document is read from disk rather than from the bundle listing. */ export declare function tiledTerrainBakedLightingWarning(root: string): string | null; export declare function checkBundle(root: string, options?: { compatibleResolverOrigin?: string; /** * The REASON an exact engine pin is deliberately allowed (--allow-exact-engine-pin). Without it an exact * pin is a validation error: engine systems are ranges, and an unpromoted fix is promoted, not pinned. */ allowExactEnginePin?: string; }): BundleCheck; export declare const MULTIPLAYER_CONFIG_FILENAME = "multiplayer.json"; export declare function multiplayerConfigBundleFile(root: string, manifest: NormalizedHelixManifest): BundleFile | null;