/** UASTC is 16 bytes per 4x4 block; include every mip, block padding, container data and compression overhead. */ export declare function hlodBasisOutputCapacity(width: number, height: number): number; export declare function encodeHlodBasis(data: Uint8Array, width: number, height: number, color: boolean): Promise; /** * A bounded RGBA image as a KTX2 with a full mip chain, in the mode the caller needs. `etc1s` is the fast, small encode for * colour maps (about 8x smaller than UASTC); `uastc` stays for normal and data maps (rule P03: UASTC only there) with the * fastest pack flags, because a map this small gains little from the slow search. The HLOD atlas encoder above is unchanged. */ export declare function encodeBasisImage(data: Uint8Array, width: number, height: number, options: { color: boolean; mode: 'etc1s' | 'uastc'; }): Promise;