import type { Document } from '@gltf-transform/core'; export interface FixMetaHumanFaceResult { headPrimTris: number; droppedMaterials: string[]; texturedEyeMaterials: string[]; } export interface FixMetaHumanFaceOptions { bakedName?: string; eyeTexturePng?: Uint8Array; } /** Verifies that the expected baked eyes still have textured, scene-reachable geometry. */ export declare function assertLiveTexturedMetaHumanEyes(document: Document, expectedMaterialNames: readonly string[]): void; /** * Canonical Bridge copy of the material repair introduced by * helix-web-engine-new PR #99 (`avatar-eye-material-fix`). Unreal's FBX export * preserves the eye geometry and UVs, but not the baked material graph. Bridge * therefore requires the eye bake and refuses an output that would ship black, * textureless eyes. */ export declare function fixMetaHumanFaceMaterials(document: Document, headTexturePng: Uint8Array, options?: FixMetaHumanFaceOptions): FixMetaHumanFaceResult; export declare function inspectBaseAvatarGlb(bytes: Uint8Array): { lodCount: number; faceMeshCount: number; bodyMeshCount: number; eyeMaterialCount: number; };