import { InjectionKey, Ref } from 'vue'; import { Map, Style } from 'maplibre-gl'; import { MglMap } from "./index"; import { Emitter } from 'mitt'; import { SourceLayerRegistry } from "./sources/sourceLayer.registry"; export declare const mapSymbol: InjectionKey>, isLoadedSymbol: InjectionKey>, componentIdSymbol: InjectionKey, sourceIdSymbol: InjectionKey, sourceLayerRegistry: InjectionKey, emitterSymbol: InjectionKey>; export interface MglEvent { type: string; component: InstanceType; map: Map; event: T; } export declare type MglEvents = { styleSwitched: StyleSwitchItem; langSwitched: LangSwitchItem; }; export interface StyleSwitchItem { name: string; label: string; icon?: { path: string; }; style: Style | string; } export interface LangSwitchItem { icon?: { path: string; }; lang: string; }