import Earth from '../../../LczEarth/common/earth'; import * as THREE from 'three'; import { OutAreaHeat } from '../../../LczEarth/type/child'; type Option = { earth: Earth; areaHeat: OutAreaHeat; }; export default class Heat { earth: Earth; width: number; height: number; areaHeat: OutAreaHeat; lastAreaHeat?: OutAreaHeat; heatGroup: THREE.Group; canvasDom: HTMLCanvasElement; heatMaterial?: THREE.MeshBasicMaterial; mapData?: any; constructor(option: Option); updata(areaHeat: OutAreaHeat): void; initHeat(): Promise; drawCanvas(): void; getCurrentAreaFill({ name }: { name: string; adcode: number; }): string; initMaterial(): void; destroy(): void; } export {};