import mapboxgl from "maplibre-gl" ; export const createCallbackWithLayer = ( layer , callback ) => { return { cb : callback , layer , } ; } ; export type MapWindow = Window & typeof globalThis & { hoveredStateId : number ; } ;