/** * `@hypersoniclabs/helix-cli/item-lod`: the `helix.item-lod/1` Runtime Artifact compiler, the same code `helix item lods` * runs, for the backend optimisation worker and any other programmatic caller. Importing this entry loads no CLI code. * * import { compileItemLods, validateItemLodArtifact, checkItemLodCaps } from '@hypersoniclabs/helix-cli/item-lod'; * * `compileItemLods(glb, { source, profile })` takes the static GLB bytes plus the identity to record (and `profile: 'vehicle'` * for a vehicle Package), and returns the artifact with its content-addressed objects. `artifact.levels` holds only the * tiers that were worth emitting: 0, 1 or 2 entries, each tagged `lod: 1 | 2`. The impostor capture needs the bundled headless Chromium (see docs/item-lod.md); * pass `captureAtlas` to supply the 8 x 8 atlas from elsewhere. */ export { ITEM_LOD_SCHEMA, ITEM_LOD_COMPILER, ITEM_LOD_CAPS, ITEM_LOD_CARD_TRUTH, ITEM_LOD_CARD_TRUTH_COMPILER, meshGuarantee, compileItemLods, validateItemLodArtifact, checkItemLodCaps, itemLodObjectPath, writeItemLodOutput, } from './artifact'; export type { ItemLodArtifact, ItemLodBuild, ItemLodSource, ItemLodLevel, ItemLodImpostor, ItemLodObject, ItemLodReport, ItemLodReportLevel, ItemLodOmission, CapCheck, CompileItemLodOptions, } from './artifact'; export type { ItemLodProfile } from './simplify'; export type { ImpostorShading } from './impostor'; /** The impostor shadings `compileItemLods({ shading })` can bake. A backend worker checks this before it compiles an albedo twin or a `gbuffer/1` (`item-lod/5`) impostor, so an older CLI never writes the wrong atlas under a contract that names another. */ export declare const ITEM_LOD_SHADINGS: readonly ["lit/1", "albedo", "gbuffer/1"]; export { SkinnedModelError } from './model'; export { chooseModelVariant, parsePackageRef, resolveItemPackage, resolvePackageModel } from './source'; export type { ItemLodApi, PackageModelRef, ResolvedPackageModel } from './source'; export { CARD_TRUTH, cardCensus, materialVerdict } from './cardTruth'; export type { CardCensus, CardVerdict } from './cardTruth';