import { Ref } from 'vue'; import { AnySourceImpl, Map as GlMap } from 'maplibre-gl'; import { MglEvents } from "../types"; import { Emitter } from 'mitt'; import { SourceLayerRegistry } from "./sourceLayer.registry"; export declare function genSourceOpts(type: string, props: object, sourceOpts: Array): T; export declare function getSourceRef(mcid: number, source: any): Ref; export declare function bindSource(map: Ref, source: Ref, isLoaded: Ref, emitter: Emitter, props: any, type: string, sourceOpts: Array, registry: SourceLayerRegistry): false | Function | undefined;