declare module 'maptalks.markercluster' { import * as maptalks from 'maptalks' export interface ClusterLayerOptionsType extends maptalks.OverlayLayerOptionsType { renderer?: string; /** @default 160 */ maxClusterRadius?: number; textSumProperty?: string; symbol?: maptalks.AnyMarkerSymbol; /** @default true */ drawClusterText?: boolean; textSymbol?: maptalks.TextSymbol; /** @default true */ animation?: boolean; /** @default 450 */ animationDuration?: number; maxClusterZoom?: number; /** @default true */ noClusterWithOneMarker?: boolean; /** @default true */ forceRenderOnZooming?: boolean; } export class ClusterLayer extends maptalks.OverlayLayer { constructor(name: string, markers?: maptalks.Marker[] | ClusterLayerOptionsType, options?: ClusterLayerOptionsType) addMarker(markers: maptalks.Marker | maptalks.Marker[]): this /** @see https://github.com/maptalks/maptalks.markercluster/blob/c2ebb293b04e4ce5560137a1ec093023c8ea81f2/index.js#L283-L286 */ identify(coordinate: Coordinate, options: LayerIdentifyOptionsType): maptalks.Marker[] | { center: maptalks.Coordinate, children: maptalks.Marker[] } | null getClusters(): { center: maptalks.Coordinate; children: maptalks.Marker[]; count: number; key: string }[] config(options: ClusterLayerOptionsType): this config(conf: K, value: ClusterLayerOptionsType[K]): this /** @deprecated */ config(): ClusterLayerOptionsType } }