UNPKG

vue-maplibre-gl

Version:
8 lines (7 loc) 353 B
import { Source } from 'maplibre-gl'; import { Ref } from 'vue'; export declare class SourceLib { private static readonly REFS; static genSourceOpts<T extends object, O extends object>(type: string, props: object, sourceOpts: Array<keyof O>): T; static getSourceRef<T extends Source>(mcid: number, source: any): Ref<T | undefined | null>; }