import type { FoliageAtlasRect } from './foliageCards'; export declare function preserveFoliageCoverage(pixels: Uint8Array, cutoff: number, target: number): void; /** Dilate tile-local RGB, retain the cutout coverage through the mip chain, then assemble independently encoded UASTC levels. */ export declare function encodeFoliageAtlas(raw: Uint8Array, size: number, regions: number | FoliageAtlasRect[], cutoff: number, normal?: boolean): Promise;