import type { GeoJSONSourceSpecification, LayerSpecification } from 'maplibre-gl'; import MapPreviewer from './map'; import type { PreviewStyleLayer } from '../layers'; import LocationResource from '../resources/location'; import type OgmRecord from '../record'; type AddGeoJsonSourceObject = GeoJSONSourceSpecification & { id: string; }; export declare const FILL_OPACITY = 0.2; export default class LocationPreviewer extends MapPreviewer { protected resource: LocationResource; readonly inspectable = false; protected getSourceId(): string; protected createSources(): Promise; protected createLayers(): Promise; protected applyOpacity(styleLayer: PreviewStyleLayer, opacity: number): void; private createFillLayer; private createOutlineLayer; } export declare const locationFor: (record: OgmRecord) => LocationPreviewer | undefined; export declare const locationsFor: (records: OgmRecord[]) => (LocationPreviewer | undefined)[]; export {};