UNPKG

vue-yandex-maps

Version:
22 lines (21 loc) 766 B
import { MapSettings, RecursiveArray, MarkerAction } from './types'; import type { InjectionKey } from 'vue'; export declare const actionsKey: InjectionKey<{ [key: string]: MarkerAction; }>; declare class EventEmitter { events: { [Key: string]: (() => void)[]; }; ymapReady: boolean; scriptIsNotAttached: boolean; pluginInstalledGlobal: boolean; constructor(); $on(eventName: string, fn: (value?: unknown) => void): () => void; $emit(eventName: string): void; } export declare const emitter: EventEmitter; export declare function ymapLoader(settings: MapSettings): Promise<unknown>; export declare const convertToNumbers: (item: any) => RecursiveArray | number; export declare const defaultMapEvents: string[]; export {};