import * as THREE from 'three'; import type { Node } from 'three/webgpu'; /** A scene whose rendered alpha defines a mask region, plus the texture to composite there. */ export interface MaskLayer { scene: THREE.Scene; texture: THREE.Texture; } /** Stencil-style masking: composite textures into screen regions covered by helper mask scenes, using each pass's alpha. @remarks Requires the WebGPU renderer (three/webgpu) and ships via the 'threejs-scenes/webgpu' entry point. */ export declare function createMasking(base: Node<'vec4'>, camera: THREE.Camera, layers: MaskLayer[]): Node; //# sourceMappingURL=masking.d.ts.map