export type MapClusterLayerProps
= {
/** GeoJSON FeatureCollection data or URL to fetch GeoJSON from */
data: string | GeoJSON.FeatureCollection;
/** Maximum zoom level to cluster points on (default: 14) */
clusterMaxZoom?: number;
/** Radius of each cluster when clustering points in pixels (default: 50) */
clusterRadius?: number;
/** Colors for cluster circles: [small, medium, large] based on point count (default: ["#51bbd6", "#f1f075", "#f28cb1"]) */
clusterColors?: [string, string, string];
/** Point count thresholds for color/size steps: [medium, large] (default: [100, 750]) */
clusterThresholds?: [number, number];
/** Color for unclustered individual points (default: "#3b82f6") */
pointColor?: string;
/** Callback when an unclustered point is clicked */
onPointClick?: (feature: GeoJSON.Feature, coordinates: [number, number]) => void;
/** Callback when a cluster is clicked. If not provided, zooms into the cluster */
onClusterClick?: (clusterId: number, coordinates: [number, number], pointCount: number) => void;
};
export declare function MapClusterLayer({ data, clusterMaxZoom, clusterRadius, clusterColors, clusterThresholds, pointColor, onPointClick, onClusterClick, }: MapClusterLayerProps
): null;
//# sourceMappingURL=map-cluster-layer.d.ts.map