import { Map, type IControl } from 'mapbox-gl'; export declare function defineMapboxControl(onAdd: (map: Map) => HTMLElement, onRemove: (map: Map) => void): IControl;