import type { MapStyle } from '../../../../types/map'; import type { StyleSpecification } from 'maplibre-gl'; /** MapTiler's public demo key. Honoured on localhost only, so dev works without an account. */ export declare const MAPTILER_PLACEHOLDER_KEY = "get_your_own_OpIi9ZULNHzrESv6T2vL"; export declare const SATELLITE_STYLE_URL = "cdt:satellite"; export declare const STREETS_STYLE_URL = "cdt:streets"; export declare const TERRAIN_SPEC: { readonly source: "terrainSource"; readonly exaggeration: 0.6; }; /** Falls back to the placeholder so a missing key degrades the map instead of breaking it. */ export declare function maptilerKeyOrPlaceholder(key?: string | null): string; export declare function isLocalhostOrigin(): boolean; export declare function maptilerKeyForRequest(key?: string | null): string | null; /** * Build the Satellite base style for a deployment's own MapTiler key. * Without a key it falls back to Esri imagery, terrarium elevation and the * OpenMapTiles font CDN, so nothing is billed to another account. */ export declare function buildSatelliteStyle(key?: string | null): StyleSpecification; /** * Resolve a catalog entry into something `` accepts: a built style * object for the built-in Satellite, a keyed URL for Streets, and any other URL * (organization-supplied styles included) unchanged. */ export declare function resolveStyleSpec(style: MapStyle, key?: string | null): string | StyleSpecification; //# sourceMappingURL=mapStyleSpec.d.ts.map