import { MglMap } from '../components'; import { ValidLanguages } from '../types'; import { Map as MaplibreMap } from 'maplibre-gl'; import { ShallowRef } from 'vue'; export interface MapInstance { component?: InstanceType; map?: MaplibreMap; isMounted: boolean; isLoaded: boolean; language: ValidLanguages | undefined; } export declare function useMap(key?: symbol | string): MapInstance; export declare function registerMap(instance: InstanceType, map: ShallowRef, key?: symbol | string): MapInstance;