import * as MaplibreGL from 'maplibre-gl'; import type { StyleSpecification } from '@maplibre/maplibre-gl-style-spec'; export interface NBMapOptions extends Omit { style: StyleSpecification | string; hideAttribution?: boolean; } /** * @example * nextbillion.setApiKey("your_api_key") * var map = new nextbillion.maps.Map({ * container: 'map', * center: [-122.420679, 37.772537], * zoom: 13, * style: 'https://api.nextbillion.io/maps/streets/style.json', * hash: true, * }); * */ export declare class NBMap { private readonly _map; private readonly _options; constructor(options: NBMapOptions); get map(): MaplibreGL.Map; setStyle(style: StyleSpecification | string | null, options?: Parameters[1]): this; on(type: string, listener: MaplibreGL.Listener): this; } //# sourceMappingURL=map.d.ts.map