/** The bundle-file shape these audits need — kept structural so bundle.ts stays the only owner of BundleFile. */ type AuditableFile = { path: string; absolutePath: string; }; export type TextureAudit = { warnings: string[]; }; export type Ktx2Header = { pixelWidth: number; pixelHeight: number; levelCount: number; }; /** Parse a KTX2 header from the leading bytes of a file or buffer view. null when it is not a KTX2. */ export declare function parseKtx2Header(bytes: Buffer): Ktx2Header | null; /** levelCount 0 asks the loader to generate mips — which a GPU-compressed payload cannot do, so it counts too. */ export declare function isMipless(header: Ktx2Header): boolean; /** * Audit every KTX2 in the bundle — loose files and images embedded in a GLB — plus the samplers those * GLBs bind. Unreadable or malformed files are skipped: this reports texture quality, not file health. */ export declare function auditBundleTextures(files: AuditableFile[]): TextureAudit; export {};