/** * Tells maplibre-gl (>=6) where its web worker script is served from. * * maplibre-gl 6 no longer inlines its worker. It loads `maplibre-gl-worker.mjs` * relative to its own module, and bundlers cannot see that reference, so the file * is never emitted and the basemap silently stays blank. * * Call this once, before the first map is created. It overrides the default set by * this library, and is the way to fix `vite dev`, where the default cannot resolve. * * @example * import workerUrl from "maplibre-gl/dist/maplibre-gl-worker.mjs?url"; * setMapLibreWorkerUrl(workerUrl); * * @param url The URL of `maplibre-gl/dist/maplibre-gl-worker.mjs`, as served to the browser */ export declare const setMapLibreWorkerUrl: (url: string) => void;