import OlMap from 'ol/Map.js'; import OlControl from 'ol/control/Control.js'; /** * Provides helper for OL map. */ export declare class Map { private readonly map; constructor(map: OlMap); /** * @returns The Ol map. */ getMap(): OlMap; /** * Based on the control unique id, check whether the control is already on * the map. */ hasControl(controlUid: string): boolean; /** * Add an identified control into the map. * @param controlUid the (uniq) id of the controller. If it already * exists, the control will not be added. * @param control the control to add. */ addControl(controlUid: string, control: OlControl): void; /** * @returns an new empty map (no layer, no controls). */ static createEmptyMap(): OlMap; }