export declare const CHARACTER_SOURCE_LIMITS: { readonly maxBytes: number; readonly maxJsonBytes: number; readonly maxNodes: 10000; readonly maxMeshes: 256; readonly maxPrimitives: 2048; readonly maxAccessors: 8192; readonly maxAccessorElements: 5000000; readonly maxDecodedAccessorBytes: number; readonly maxDecodedCompressedBytes: number; readonly maxBufferViews: 8192; readonly maxImages: 128; readonly maxImageBytes: number; readonly maxMaterials: 256; readonly maxSkins: 8; readonly maxAnimations: 64; }; export declare const CHARACTER_GENERATED_SOURCE_LIMITS: { readonly maxBytes: number; }; export interface CharacterSourcePreflight { bytes: Uint8Array; sha256: string; sizeBytes: number; counts: { nodes: number; meshes: number; primitives: number; accessors: number; accessorElements: number; decodedAccessorBytes: number; bufferViews: number; images: number; materials: number; skins: number; animations: number; }; } export declare function preflightCharacterSource(path: string): CharacterSourcePreflight; /** Preflight only for GLBs emitted from a source already bounded by this process. */ export declare function preflightGeneratedCharacterSource(path: string): CharacterSourcePreflight; /** * Same as `preflightGeneratedCharacterSource`, but the per-image AND whole-file (aggregate) byte * ceilings are both deferred. Only `prepareCharacterSource`'s FBX/Unreal-sidecar pre-pass may call * this: a real Unreal export or sidecar texture cache commonly embeds a texture over the * 32MB-per-image ceiling (a raw multi-K TGA/PNG baked straight into the source) — or, for a garment * with several materials each carrying several maps, a total embedded-texture payload over the * 128MB aggregate ceiling even when no single texture trips the per-image one — and that pre-pass * needs a structurally-validated document back so it can safely hand it to glTF-Transform, downscale * the oversized texture(s) to the target slot's edge cap, and then re-run the FULL gate * (`preflightGeneratedCharacterSource`, both ceilings enforced) on the shrunk result. Nothing else * should treat this result as an accept/reject decision — it isn't one. */ export declare function preflightGeneratedCharacterSourceForDownscale(path: string): CharacterSourcePreflight;