import THREE from 'three'; import * as TWEEN from '@tweenjs/tween.js'; import { LightBarDataMap, TextConfig } from '../../../Lcz3dAreaMap/type/child'; import { BarConfig, RegionBar } from '../../type/children'; import CoreMap from '../../map/CoreMap'; import { CSS2DObject } from 'three/examples/jsm/renderers/CSS2DRenderer'; import { BarLabel } from './BarLabel'; import { RefObject } from 'react'; export declare const BAR_NAME = "bar"; export default class RegionMapBar { group: THREE.Group; tweenGroup: TWEEN.Group[]; datas: LightBarDataMap[]; config: BarConfig; textConfig: TextConfig; event: RegionBar['event']; barLabelRefs: RefObject[]; constructor(regionBar: RegionBar); setDatas(datas: any): void; processColors(geometry: any, startColor: any, endColor: any, height: any): any[]; draw(coreMap: CoreMap): void; createBarLabel(pos: any, upTime: any, data: any, index: any): CSS2DObject; processAnimate(upTime: any): void; updateBarColor(color: any): void; updateBarConfig(barConfig: BarConfig, coreMap: CoreMap): void; updateTextConfig(textConfig: any): void; animate(tween: any): void; destroy(coreMap?: CoreMap): void; }