import { MglMap } from "./index"; import maplibregl from 'maplibre-gl'; export interface MapInstance { component?: InstanceType; map?: maplibregl.Map; isMounted: boolean; isLoaded: boolean; } export declare function useMap(key?: symbol | string): MapInstance; export declare function registerMap(instance: InstanceType, key?: symbol | string): MapInstance;