export declare function isKtx2(buffer: Buffer): boolean; /** * Transcode the top mip level of a KTX2 texture (ETC1S or UASTC) to raw RGBA. * Throws on anything that is not a decodable KTX2 — callers treat that as an * undecodable image (fail-closed), same as any other corrupt input. */ export declare function decodeKtx2ToRgba(buffer: Buffer): Promise<{ data: Buffer; width: number; height: number; }>;