import type { Map as MapInstance, Source as MapboxSource } from 'mapbox-gl'; import type { Source, SourceProps } from './types'; export declare function createSource(map: MapInstance, id: string, props: SourceProps): MapboxSource | undefined; export declare function updateSource(source: MapboxSource, props: SourceProps, prevProps: SourceProps): void;