import * as React from 'react'; import type { Map } from 'maplibre-gl'; import type { GeoJsonDataType } from '@splunk/visualizations-shared/mapUtils'; import { ChoroplethLayerType } from './MapUtils'; import type { TooltipProps } from './Tooltip'; export declare const compareGeom: (prev: GeoJsonDataType, next: GeoJsonDataType) => boolean; export declare const compareChoropleth: (prevProps: ChoroplethProps, nextProps: ChoroplethProps) => boolean; export declare const cleanupChoropleth: (shapeId: string, sourceId: string, strokeId: string, map: React.MutableRefObject) => void; interface ChoroplethProps { id: string; map: React.MutableRefObject; areaId: string; areaValue: number; geomData: GeoJsonDataType; color: string; opacity?: number; strokeColor?: string; isThemeChanged: boolean; additionalFields?: TooltipProps['additionalFields']; tooltipHeader?: TooltipProps['tooltipHeader']; handleMapClick?: (e: any) => void; stylesManagedExternally?: boolean; onKeyDown?: (e: React.KeyboardEvent) => void; onFocus?: () => void; onBlur?: () => void; elementRef?: (element: HTMLElement | SVGElement | null) => void; hasEventHandlers?: boolean; } export declare const Choropleth: React.MemoExoticComponent<({ id, areaId, areaValue, geomData, map, color, opacity, strokeColor, isThemeChanged, additionalFields, tooltipHeader, handleMapClick, stylesManagedExternally, onKeyDown, onFocus, onBlur, elementRef, hasEventHandlers, }: ChoroplethProps) => JSX.Element>; interface ChoroplethLayerProps { choroplethLayer: ChoroplethLayerType; map: React.MutableRefObject; isThemeChanged: boolean; setIsThemeChanged: (isThemeChanged: boolean) => void; onMapClick?: ({ e, payload }: { e: any; payload: any; }) => void; stylesManagedExternally?: boolean; hasEventHandlers?: boolean; } declare const ChoroplethLayer: (props: ChoroplethLayerProps) => JSX.Element; export default ChoroplethLayer; //# sourceMappingURL=ChoroplethLayer.d.ts.map