import * as THREE from 'three'; import { ShaderPass } from 'three/addons/postprocessing/ShaderPass.js'; /** Options for {@link createDofPass}. */ export interface DofPassOptions { focalDistance?: number; focalRange?: number; maxBlur?: number; caStrength?: number; near?: number; far?: number; } /** Combined depth-of-field and chromatic-aberration pass. */ export interface DofPass extends ShaderPass { focusOn(worldPos: THREE.Vector3, camera: THREE.Camera): void; setAspect(aspect: number): void; } /** Create a ShaderPass that applies depth-of-field blur modulated by circle-of-confusion, with radial chromatic separation. Requires a DepthTexture on the composer render target. */ export declare function createDofPass({ focalDistance, focalRange, maxBlur, caStrength, near, far, }?: DofPassOptions): DofPass; //# sourceMappingURL=dof-chromatic-pass.d.ts.map