import type {MarkerOptions, MarkerEventMap, IconOptions, PathOptions, InteractiveLayerEventMap} from 'leaflet'; declare module 'leaflet' { interface Marker { clusterHide(): this; clusterShow(): this; refreshIconOptions(options: IconOptions, directlyRefreshClusters?: boolean): this; } interface Path { clusterHide(): this; clusterShow(): this; } }