import { IClusterPointParams } from 'packages/components/src/types';
export default class DbscanCluster {
    private view;
    private clusterLayer;
    private readonly maxClusterSymbolSize;
    private readonly minClusterSymbolSize;
    private readonly clusterRadius;
    private readonly minClusterPoints;
    constructor(view: __esri.MapView | __esri.SceneView);
    private zoomWatchHandle;
    private scaleThreshold?;
    private countBackgroundColor;
    private countFontColor;
    private locations;
    private clusteredLocations;
    private clusterMarkUrl;
    /**
     * 将地理位置转换为屏幕坐标
     */
    private locationToScreen;
    private currentStyle;
    /**
     * 添加聚类点到视图
     * @param params
     */
    addClusterPoints(params: IClusterPointParams): void;
    removeAllClusterPoints(): void;
    private showClusters;
    /**
     * 获取邻居点
     * @param locations
     * @param index
     * @param eps
     * @returns
     */
    private getNeighbors;
    /**
     * 两点间的像素距离
     * @param point1
     * @param point2
     * @returns
     */
    private getDistance;
    /**
     * 从聚类结果中创建聚类对象
     * @param locations
     * @returns
     */
    private createClusters;
    /**
     * 按照像素距离聚类
     * @param locations
     * @param eps
     * @param minPoints
     * @returns
     */
    private doPixelCluster;
}
