import type { Document } from '@gltf-transform/core'; /** * Dispose every node that no scene reaches and no skin binds. * * `conformToHelixRest` rebuilds the rig and disposes only the top node of the SOURCE rig; its descendants (eye.L, head, * neck, FaceFront, thumb joints ...) stay in the document with no parent and no scene. Nothing can draw, animate or look * them up, but the publish gate's per-LOD draw-call projection requires every node to sit in some scene * (`covered.size !== nodes.length` falls back to the SUM over the three LOD scenes). Companion-Space Mira carried 132 of * them and was refused at 21 draws where each level draws 7. * * A node survives when a scene reaches it, a skin lists it as a joint or skeleton, or an animation channel targets it. */ export declare function disposeSceneOrphans(document: Document): number;