import { Texture, WebGPURenderer } from 'three/webgpu'; /** * Turns an equirectangular image into what `scene.environment` needs: a cube * capture, then a PMREM from it. Keeps the newest bake and frees the one * before. */ export declare class ImageBasedLightBaker { private _renderer; private _pmrem; private _target; constructor(_renderer: WebGPURenderer); /** * Bakes the image, or frees the last bake for `null`. * * @param image - The equirectangular image. * @returns The texture to put on `scene.environment`. */ bake(image: Texture | null): Texture | null; /** whether the texture is the current bake */ owns(texture: Texture | null): boolean; /** frees the current bake */ release(): void; dispose(): void; }