import { L as Locale } from '../i18n-DUwTFylQ.js'; import { b as Theme } from '../types-BTUuytwo.js'; import { c as LightingEditorOptions, d as LightingConfig, a as LightingView, L as LightingLocale } from '../presets-DTS1rPOb.js'; export { D as DEFAULT_LIGHTING_CONFIG, K as KeyPreset, P as PRESET_DIRECTIONS, l as lightingLocaleEn, b as lightingLocaleZh, m as mergeLightingLocale, s as snapToPreset } from '../presets-DTS1rPOb.js'; /** * Top-level lighting picker. Two columns: a 3D scene (sphere + subject * plane + draggable light dot + cone beam) and a controls panel * (brightness / color / 6-direction key-light grid / rim toggle). * * Deliberately scoped to JUST the picker — the host owns everything * around it (smart-mode UI, generate buttons, layout, close handling, * theming above the editor). Render alongside your * own Smart panel in your own flex/grid; the library doesn't try to * model "open / closed drawer" semantics for you. */ declare class LightingEditor { private root; private opts; private config; private view; private locale; private scene; private controls; private sceneViewport; private viewToggleEl; /** Footer slot in the controls column. Host appends Reset/Generate/ * preset-save/etc. buttons here. The library renders nothing into * it — it's the same convention as the video editor's toolbar slots. */ readonly controlsFooter: HTMLDivElement; private resizeObs; private destroyed; static create(opts: LightingEditorOptions): LightingEditor; constructor(opts: LightingEditorOptions); getConfig(): LightingConfig; setConfig(partial: Partial, _reason?: "external" | "reset"): void; setSubjectImage(url: string): void; /** Restore config to the safe defaults. Convenience for host's * "Reset" button — equivalent to `setConfig(DEFAULT_LIGHTING_CONFIG)`. */ reset(): void; setView(v: LightingView): void; getView(): LightingView; setTheme(theme: Theme): void; setLocale(locale: Partial): void; destroy(): void; private applyMutation; private buildViewToggle; private syncViewToggle; } export { LightingConfig, LightingEditor, LightingEditorOptions, LightingLocale, LightingView };