import { DirectionalLight, SpotLight } from 'three'; import { LightComponent } from '.'; import { World } from '../../world'; import { Lighttype, LightJson, ShadowJson } from './type'; declare const getLightJson: (light: T, name?: string) => LightJson; declare const getShadowJson: () => ShadowJson; declare const createLight: (json: LightJson) => import("three").AmbientLight | DirectionalLight | import("three").PointLight | import("three").RectAreaLight | SpotLight; declare const updateLight: (com: LightComponent) => void; declare const setTarget: (name: string, obj: DirectionalLight | SpotLight, world: World) => void; export { getLightJson, getShadowJson, createLight, updateLight, setTarget };