import { Map } from "mapbox-gl";
type MapboxCallback = (map: Map) => void;
/**
 * Executes a callback function when the Mapbox instance with the specified map ID is available & loaded.
 *
 * if you need access to the map before load be sure to use `useMapboxBeforeLoad` instead
 *
 * @param {string} mapID - The ID of the Mapbox map.
 * @param {MapboxCallback} callback - The callback function to be executed when the Mapbox map is available.
 */
export declare function useMapbox(mapID: string, callback: MapboxCallback): void;
export {};
