import { Vector3Like } from 'three/webgpu'; import { DIVELightComponent } from '../LightComponent.ts'; /** * Parallel light from a fixed direction, the usual choice for sunlight. Casts * shadows. * * @module */ export declare class DirectionalLightComponent extends DIVELightComponent { readonly isDirectionalLightComponent: true; constructor(); /** * Sets the direction the light shines from. * * three takes a directional light's direction from its world position * relative to its target, which defaults to the world origin. So this is a * direction, not a location: moving the node does not change where the light * comes from, and it must never be the zero vector. * * @param direction - Where the light shines from. Must not be zero-length. */ setDirection(direction: Vector3Like): void; }