import type * as THREEType from 'three';
export type AtlasTransform = {
    offset: [number, number];
    scale: [number, number];
};
export interface TextureAtlasResult {
    texture: THREEType.DataTexture;
    transforms: Map<THREEType.DataTexture, AtlasTransform>;
    width: number;
    height: number;
}
export declare function buildTextureAtlas(THREE: typeof THREEType, textures: readonly THREEType.DataTexture[]): TextureAtlasResult | null;
export declare function buildEmissiveAtlas(THREE: typeof THREEType, width: number, height: number, transforms: Map<THREEType.DataTexture, AtlasTransform>, pairs: Map<THREEType.DataTexture, THREEType.DataTexture>): THREEType.DataTexture | null;
