import { Color, DirectionalLight2, IDisposable, SerializationMetaType, Vector3 } from 'threepipe'; export interface RDShadowParams { frustumSize: number; far: number; bias: number; width: number; near: number; enabled: boolean; height: number; normalBias: number; radius: number; } export interface RDRandomParams { minDistanceScale: Vector3; distanceScale: number; focus: number; spread: number; direction: Vector3; normalDirection: Vector3; } export declare class RandomizedDirectionalLight extends DirectionalLight2 implements IDisposable { private _shadowParams; private _randomParams; isRandomizedDirectionalLight: boolean; constructor(color?: Color | string | number, intensity?: number, shadow?: Partial, random?: Partial); /** * call setter to change. or call updateShadowParams after changing */ get shadowParams(): Partial; set shadowParams(value: Partial); get randomParams(): Partial; set randomParams(value: Partial); updateShadowParams(): void; randomizePosition(seed: number, focus?: number | null, spread?: number | null): void; refreshShadowCamNearFar(): void; dispose(): void; toJSON(meta?: SerializationMetaType, _internal?: boolean): any; fromJSON(data: any, meta?: SerializationMetaType, _internal?: boolean): this | null; } //# sourceMappingURL=RandomizedDirectionalLight.d.ts.map