import { BufferedHierarchicalAggregator } from '../BufferedHierarchicalAggregator'; import { HtmlOverlayLabelPool } from '../HtmlOverlayLabelPool'; import { MaterialManager } from '../Material/MaterialManager'; interface EntityGroupOptions { id: string; entities?: any[]; primitives?: any[]; billboardPointIds?: string[]; dataItem?: any; aggregator?: BufferedHierarchicalAggregator; cardPool: HtmlOverlayLabelPool; } export declare class EntityGroup { id: string; entities: any[]; primitives: any[]; billboardPointIds: string[]; dataItem: any; aggregator?: BufferedHierarchicalAggregator; cardPool: HtmlOverlayLabelPool; constructor(options: EntityGroupOptions); setVisible(visible: boolean): void; removeAll(viewer: any, immediately?: boolean): { groupId: any; billboardPointIds: string[]; }; } export declare class EntityLayer { id: string; groupMap: Map; Cesium: any; viewer: any; materialManager: MaterialManager; aggregator: BufferedHierarchicalAggregator; cardPool: HtmlOverlayLabelPool; /** * 弹窗卡片仅在显式关闭时禁用,保证未保存该字段的历史标注继续沿用原有行为。 */ private isCardClickEnabled; constructor(id: string, Cesium: any, viewer: any, materialManager: MaterialManager, aggregator: BufferedHierarchicalAggregator, cardPool: HtmlOverlayLabelPool); /** ====== 下面是抽出的创建函数 ====== */ private getBillboardPointId; private createPolyline; private createWall; private createPolygon; private createBillboardPoints; private createCard; /** ====== 主入口:仅保留循环,内部调用独立函数 ====== */ addGroup(dataItem: any, isAppendPoints?: boolean): any; addGroups(dataItemList: any): Promise; removeGroup(groupId: string): void; removeGroups(groupIds: string[]): void; updateGroup(dataItem: any): void; updateGroups(dataItemList: Array): Promise; setGroupVisible(groupId: string, visible: boolean): void; clearAllGroups(): void; } export declare class EntityLayerManager { Cesium: any; viewer: any; layerMap: Map; materialManager: MaterialManager; aggregator: BufferedHierarchicalAggregator; cardPool: HtmlOverlayLabelPool; constructor(Cesium: any, viewer: any, materialManager: MaterialManager, aggregator: BufferedHierarchicalAggregator, cardPool: HtmlOverlayLabelPool); addLayer(layerId: string): void; removeLayer(layerId: string): void; getLayer(layerId: string): EntityLayer | undefined; addGroupsToLayer(layerId: string, dataList: any[]): Promise; updateGroupToLayer(layerId: string, dataList: any[]): void; setGroupVisible(layerId: string, groupId: string, visible: boolean): void; removeGroup(layerId: string, groupId: string): void; removeGroups(layerId: string, groupIds: string[]): void; } export {};