import ndarray from 'ndarray'; import { Primitive, Texture } from '@gltf-transform/core'; /** Maps pixels from source to target textures, with a per-pixel callback. */ export declare function rewriteTexture(source: Texture, target: Texture, fn: (pixels: ndarray, i: number, j: number) => void): Promise; export declare function getGLPrimitiveCount(prim: Primitive): number;