import { Canvas, MutationEvent } from '@antv/g'; import { IMapService } from '@antv/l7-core'; import EventEmitter from 'eventemitter3'; import type { GLayer } from '../index'; type MapStatus = { center: { x: number; y: number; lng: number; lat: number; }; pitch: number; rotation: number; }; export declare enum MapSyncServiceEvent { IS_OUT_ZOOM_CHANGE = "is-out-zoom-change" } export declare class MapSyncService extends EventEmitter { gCanvas: Canvas; mapService: IMapService; gLayer: GLayer; isZooming: boolean; isMoving: boolean; isOutZoom: boolean; mapStatus: MapStatus; get layerConfig(): any; get rootGroup(): import("@antv/g").Group; constructor(gCanvas: Canvas, mapService: IMapService, gLayer: GLayer); onNodeInsert: (e: MutationEvent) => void; onNodeCoordinatesModified: (e: MutationEvent) => void; onNodeRemove: (e: MutationEvent) => void; onMapZoomStart: () => void; onMapZooming: () => void; onMapZoomEnd: () => void; onMapMoveStart: () => void; onMapChange: () => void; onMapMoveEnd: () => void; syncNodesPosition(): void; syncPrevMapStatus(): void; syncIsOutZoom(): void; bindMapEvents(): void; unbindMapEvents(): void; destroy(): void; } export {};