@tileflow/core 0.1.0-alpha.21 → 0.1.0-alpha.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,9 @@
1
- import { m as TileflowDerivedMap, n as TileflowMapScene, o as TileflowRootMap, T as TileflowMap, p as ResolveMapOptions, R as ResolvedTileflowMap } from './requirements-BV77ZVhR.js';
2
- export { q as ResolvedBathymetry, r as ResolvedBathymetryRelief, s as ResolvedMarine, t as ResolvedMarineSource, u as ResolvedTileflowTheme, w as ResolvedTileflowThemeTokens, x as TileflowBathymetryConfig, y as TileflowBathymetryDemSourceIdentity, z as TileflowBathymetryDisplay, A as TileflowBathymetryOptions, B as TileflowBathymetryReliefConfig, e as TileflowDataCompatibilityIssue, f as TileflowDataFieldRequirement, g as TileflowDataFieldType, h as TileflowDataLayerRequirement, a as TileflowDataRequirementsV1, C as TileflowFontDirectory, D as TileflowGlyphs, E as TileflowHostedDelivery, F as TileflowIconDirectory, G as TileflowLocalDirectory, H as TileflowMapDelivery, I as TileflowMapDesign, J as TileflowMapIdentity, K as TileflowMapRoot, L as TileflowMapTooling, M as TileflowMarine, N as TileflowMarineConfig, O as TileflowMarineMode, P as TileflowMarineSourceConfig, Q as TileflowMarineSourceIdentity, i as TileflowObservedDataContractV1, S as TileflowPackageDirectory, U as TileflowRasterDemSourceRequirementV1, V as TileflowResolvedThemeSelection, b as TileflowSourceRequirementsV1, c as TileflowStyleOptions, W as TileflowTheme, X as TileflowThemeAuditContext, Y as TileflowThemeAuditDiagnostic, Z as TileflowThemeAuditEffectKind, _ as TileflowThemeAuditError, $ as TileflowThemeAuditScope, a0 as TileflowThemeColorScheme, a1 as TileflowThemeDefinition, a2 as TileflowThemeLighting, a3 as TileflowThemeName, a4 as TileflowThemeTokens, a5 as TileflowThemeTypography, a6 as TileflowThemeTypographyStyle, a7 as assertTileflowMapThemeValues, a8 as auditTileflowMapThemeValues, a9 as auditTileflowThemeValues, aa as bathymetry, ab as createStyle, ac as defineTheme, k as inferTileflowDataRequirements, l as inferTileflowSourceRequirements, ad as isTileflowLocalDirectory, ae as parseTileflowMap, af as resolveMarine, ag as resolveThemeSelection, ah as resolveThemeValues, ai as resolveTileflowTheme, aj as tileflowBathymetryDemSourceId, ak as tileflowBathymetrySourceId, al as tileflowBathymetryV1Schema, am as tileflowLocalDirectoryMaximumLength, an as tileflowLocalDirectoryMessage, ao as tileflowMapIdSchema, ap as tileflowNauticalSourceId, aq as tileflowNauticalV1Schema, v as validateTileflowDataCompatibility, ar as validateTileflowMap } from './requirements-BV77ZVhR.js';
3
- import { n as ValidationMessage, M as MapLibreStyle, o as TileflowRoadsModuleOptions, p as TileflowRoadsModuleConfig, q as TileflowLabelsModuleOptions, r as TileflowLabelsModuleConfig, s as TileflowPoiModuleOptions, u as TileflowPoiModuleConfig } from './types-DlUGI6LC.js';
4
- export { v as MapLibreSprite, w as TileflowAerodromeCodeDetail, x as TileflowAlignment, y as TileflowAreaStyle, z as TileflowBackgroundPaint, A as TileflowBackgroundStyle, B as TileflowCirclePaint, C as TileflowCircleStyle, D as TileflowColor, E as TileflowColorStyleValue, F as TileflowExpression, G as TileflowExtrusionPaint, H as TileflowExtrusionStyle, I as TileflowFillPaint, a as TileflowFillStyle, J as TileflowFilterExpression, K as TileflowFixedValue, L as TileflowIconAnchor, N as TileflowIconLayout, O as TileflowIconPaint, P as TileflowIconStyle, Q as TileflowIconTextFit, S as TileflowImageStyleValue, U as TileflowLabelDetail, W as TileflowLabelLanguage, X as TileflowLabelStyles, Y as TileflowLayerRange, k as TileflowLight, Z as TileflowLineCap, _ as TileflowLineHatchStyle, $ as TileflowLineJoin, a0 as TileflowLineLayout, a1 as TileflowLinePaint, a2 as TileflowLineStackStyle, b as TileflowLineStyle, a3 as TileflowMountainBikeScale, a4 as TileflowNumberInsetsStyleValue, a5 as TileflowNumberStyleValue, a6 as TileflowPlaceLabelClass, a7 as TileflowPoiCategory, a8 as TileflowPoiCategoryStyle, a9 as TileflowPoiColorMode, aa as TileflowPoiDensity, l as TileflowProjection, ab as TileflowRoadAreaStyle, ac as TileflowRoadClass, ad as TileflowRoadClassStyle, ae as TileflowRoadCrossingStyle, af as TileflowRoadDetail, ag as TileflowRoadExtras, ah as TileflowRoadHierarchy, ai as TileflowRoadLabelDetail, aj as TileflowRoadLayerStyle, ak as TileflowRoadModifier, al as TileflowRoadOutline, am as TileflowRoadRestriction, an as TileflowRoadRoundaboutStyle, ao as TileflowRoadServiceType, ap as TileflowRoadShieldDetail, aq as TileflowRoadShieldStyles, ar as TileflowRoadSidewalkStyle, as as TileflowRoadStructure, at as TileflowRoadTreatmentLayerStyle, au as TileflowRoadTreatmentLineStyle, av as TileflowRoadTreatmentStyle, aw as TileflowRoadWeight, ax as TileflowStringStyleValue, ay as TileflowStructuralStyleValue, az as TileflowStyleValue, aA as TileflowSymbolPlacement, aB as TileflowSymbolPlacementStyle, c as TileflowSymbolStyle, aC as TileflowSymbolZOrder, m as TileflowTerrain, aD as TileflowTerrainConfig, aE as TileflowTerrainContourLabelStyle, aF as TileflowTerrainContourLineStyle, aG as TileflowTerrainContoursConfig, e as TileflowTerrainEncoding, d as TileflowTerrainHillshadeStyle, aH as TileflowTerrainLayerRange, aI as TileflowTerrainMode, aJ as TileflowTextAnchor, aK as TileflowTextJustify, aL as TileflowTextLayout, aM as TileflowTextPaint, aN as TileflowTextStyle, aO as TileflowThemeColorAlpha, aP as TileflowThemeColorMix, aQ as TileflowThemeColorOperation, g as TileflowThemeColorValue, h as TileflowThemeFontValue, i as TileflowThemeImageValue, f as TileflowThemeNumberValue, aR as TileflowThemeTokenCategory, aS as TileflowThemeTokenReference, aT as TileflowThemeValue, T as TileflowViewConfig, aU as TileflowWaterLabelClass, aV as TileflowZoomInterpolation, aW as TileflowZoomValue, V as ValidationResult, aX as color, aY as expression, aZ as filter, a_ as fixed, a$ as tileflowPoiCategories, b0 as token, b1 as zoom } from './types-DlUGI6LC.js';
1
+ import { b as TileflowMap, r as TileflowMapScene, s as ResolveMapOptions, R as ResolvedTileflowMap, O as OpenMapTilesFieldBindings, u as TileflowLayerDomain, w as OpenMapTilesLayerBindings, x as tileflowCompilationPhases, y as tileflowCompilationPlannerStages, z as tileflowCompilationReportSchemaVersion, A as TileflowSemanticModuleName, B as tileflowHostedSourceLimit, C as tileflowOverlayPlacements } from './map-BHL_0Mkx.js';
2
+ export { D as OpenMapTilesSchema, E as OpenMapTilesSchemaOptions, P as ParkLayerSemantics, F as ResolvedBathymetry, G as ResolvedBathymetryRelief, H as ResolvedMarine, I as ResolvedMarineSource, J as ResolvedTileflowData, K as ResolvedTileflowTheme, L as ResolvedTileflowThemeTokens, M as TileflowAddressesModuleConfig, N as TileflowAddressesModuleOptions, Q as TileflowAerowaysModuleConfig, S as TileflowAerowaysModuleOptions, U as TileflowAuthoringModules, V as TileflowBathymetryConfig, W as TileflowBathymetryDemSourceIdentity, X as TileflowBathymetryDisplay, Y as TileflowBathymetryOptions, Z as TileflowBathymetryReliefConfig, _ as TileflowBoundariesModuleConfig, $ as TileflowBoundariesModuleOptions, a0 as TileflowBuildingMode, a1 as TileflowBuildingsModuleConfig, a2 as TileflowBuildingsModuleOptions, a3 as TileflowCompilationDiagnostic, a4 as TileflowCompilationDomainReport, a5 as TileflowCompilationFailure, a6 as TileflowCompilationOptions, a7 as TileflowCompilationPhase, a8 as TileflowCompilationPlannerDecision, a9 as TileflowCompilationPlannerStage, aa as TileflowCompilationReport, ab as TileflowCompilationResult, ac as TileflowCompilationSuccess, f as TileflowDataCompatibilityIssue, ad as TileflowDataConfig, g as TileflowDataFieldRequirement, h as TileflowDataFieldType, ae as TileflowDataIdentity, i as TileflowDataLayerRequirement, T as TileflowDataRequirementsV1, af as TileflowDerivedMap, ag as TileflowDisableOperation, ah as TileflowFontDirectory, ai as TileflowGlyphs, aj as TileflowHostedSourceCollection, ak as TileflowHostedTilesetSource, al as TileflowHostedTilesetType, am as TileflowIconDirectory, an as TileflowLandModuleConfig, ao as TileflowLandModuleOptions, ap as TileflowLandcoverClass, aq as TileflowLandformClass, ar as TileflowLandformsModuleConfig, as as TileflowLandformsModuleOptions, at as TileflowLanduseClass, au as TileflowLocalDirectory, av as TileflowMapDesign, aw as TileflowMapIdentity, ax as TileflowMapLibreOverlay, ay as TileflowMapLibreOverlayLayer, az as TileflowMapTooling, aA as TileflowMarine, aB as TileflowMarineConfig, aC as TileflowMarineMode, aD as TileflowMarineSourceConfig, aE as TileflowMarineSourceIdentity, aF as TileflowModuleOperation, aG as TileflowModulePatch, aH as TileflowNauticalAreaLabelStyles, aI as TileflowNauticalModuleConfig, aJ as TileflowNauticalModuleOptions, j as TileflowObservedDataContractV1, aK as TileflowOverlayCollection, aL as TileflowOverlayPlacement, aM as TileflowPackageDirectory, aN as TileflowRasterDemSourceRequirementV1, aO as TileflowRefineOperation, aP as TileflowRemoveOperation, aQ as TileflowReset, aR as TileflowResolvedThemeSelection, aS as TileflowSemanticModules, a as TileflowSourceRequirementsV1, aT as TileflowStandaloneMap, c as TileflowStyleOptions, aU as TileflowTheme, aV as TileflowThemeAuditContext, aW as TileflowThemeAuditDiagnostic, aX as TileflowThemeAuditError, aY as TileflowThemeAuditScope, aZ as TileflowThemeColorScheme, a_ as TileflowThemeDefinition, a$ as TileflowThemeLighting, b0 as TileflowThemeName, b1 as TileflowThemeTokens, b2 as TileflowThemeTypography, b3 as TileflowThemeTypographyStyle, b4 as TileflowTransitModuleConfig, b5 as TileflowTransitModuleOptions, b6 as TileflowTransitRailStyle, b7 as TileflowVegetationMode, b8 as TileflowVegetationModuleConfig, b9 as TileflowVegetationModuleOptions, ba as TileflowVegetationThreeDimensionalStyle, bb as TileflowVisualValueCategory, bc as TileflowWaterModuleConfig, bd as TileflowWaterModuleOptions, be as TileflowWaterwayClass, bf as TileflowWorldData, bg as TileflowWorldReleaseReference, bh as TileflowWorldSelection, bi as TileflowWorldV1Schema, bj as VectorTilesData, bk as addresses, bl as aeroways, bm as assertTileflowMapThemeValues, bn as auditTileflowMapThemeValues, bo as auditTileflowThemeValues, bp as bathymetry, bq as boundaries, br as buildings, bs as classifyTileflowVisualProperty, bt as createStyle, bu as createStyleResult, bv as defineTheme, bw as disable, bx as hostedTileset, p as inferTileflowDataRequirements, q as inferTileflowSourceRequirements, by as isCanonicalOpenMapTilesSchema, bz as isSafeLocalPmtilesPath, bA as isTileflowCompilationPhase, bB as isTileflowLocalDirectory, bC as land, bD as landforms, bE as maplibreOverlay, bF as nautical, bG as openMapTiles, bH as openMapTilesContractVersion, bI as parseTileflowMap, bJ as refine, bK as remove, bL as reset, bM as resolveMarine, bN as resolveThemeSelection, bO as resolveThemeValues, bP as resolveTileflowData, bQ as resolveTileflowTheme, bR as tileflowBathymetryDemSourceId, bS as tileflowBathymetrySourceId, bT as tileflowBathymetryV1Schema, bU as tileflowLandformClasses, bV as tileflowLocalDirectoryMaximumLength, bW as tileflowLocalDirectoryMessage, bX as tileflowMapIdSchema, bY as tileflowNauticalSourceId, bZ as tileflowNauticalV1Schema, b_ as tileflowPrimarySourceId, b$ as tileflowThemeLimits, c0 as tileflowWorld, c1 as tileflowWorldGeneration, c2 as tileflowWorldTileJsonUrl, c3 as tileflowWorldV1Schema, c4 as transit, v as validateTileflowDataCompatibility, c5 as validateTileflowMap, c6 as validateTileflowWorldV1Tilejson, c7 as vectorTiles, c8 as vegetation, c9 as water } from './map-BHL_0Mkx.js';
3
+ import { V as ValidationMessage, a as TileflowExpression, b as TileflowFixedValue, c as TileflowThemeTokenReference, d as TileflowThemeColorOperation, e as TileflowBackgroundStyle, f as TileflowCircleStyle, g as TileflowExtrusionStyle, h as TileflowFillStyle, i as TileflowLineStyle, j as TileflowSymbolStyle, M as MapLibreStyle, k as TileflowRoadsModuleOptions, l as TileflowRoadsModuleConfig, m as TileflowLabelsModuleOptions, n as TileflowLabelsModuleConfig, o as TileflowPoiModuleOptions, p as TileflowPoiModuleConfig } from './manifest-B5GKVMFE.js';
4
+ export { q as MapLibreSprite, r as TileflowAerodromeCodeDetail, s as TileflowAlignment, t as TileflowAnalytics, u as TileflowAreaStyle, v as TileflowBackgroundPaint, w as TileflowCirclePaint, x as TileflowColor, y as TileflowColorStyleValue, z as TileflowExtrusionPaint, A as TileflowFillPaint, B as TileflowIconAnchor, C as TileflowIconLayout, D as TileflowIconPaint, E as TileflowIconStyle, F as TileflowIconTextFit, G as TileflowImageStyleValue, H as TileflowLabelDetail, I as TileflowLabelLanguage, J as TileflowLabelStyles, K as TileflowLayerRange, L as TileflowLight, N as TileflowLineCap, O as TileflowLineHatchStyle, P as TileflowLineJoin, Q as TileflowLineLayout, R as TileflowLinePaint, S as TileflowLineStackStyle, U as TileflowManifestFetchOptions, W as TileflowManifestLoadOptions, X as TileflowMapMode, Y as TileflowMapModeOptions, Z as TileflowMarkerSymbolStyle, _ as TileflowMountainBikeScale, $ as TileflowNumberInsetsStyleValue, a0 as TileflowNumberStyleValue, a1 as TileflowPlaceLabelClass, a2 as TileflowPoiCategory, a3 as TileflowPoiCategoryStyle, a4 as TileflowPoiColorMode, a5 as TileflowPoiDensity, a6 as TileflowPriorityOrder, a7 as TileflowProjection, a8 as TileflowResolvedRuntimeTheme, a9 as TileflowRoadAreaStyle, aa as TileflowRoadClass, ab as TileflowRoadClassStyle, ac as TileflowRoadCrossingStyle, ad as TileflowRoadDetail, ae as TileflowRoadExtras, af as TileflowRoadHierarchy, ag as TileflowRoadLabelDetail, ah as TileflowRoadLayerStyle, ai as TileflowRoadModifier, aj as TileflowRoadOutline, ak as TileflowRoadRestriction, al as TileflowRoadRoundaboutStyle, am as TileflowRoadServiceType, an as TileflowRoadShieldDetail, ao as TileflowRoadShieldStyles, ap as TileflowRoadSidewalkStyle, aq as TileflowRoadStructure, ar as TileflowRoadTreatmentLayerStyle, as as TileflowRoadTreatmentLineStyle, at as TileflowRoadTreatmentStyle, au as TileflowRoadWeight, av as TileflowRuntimeCenterLike, aw as TileflowRuntimeColorScheme, T as TileflowRuntimeManifest, ax as TileflowRuntimeManifestMap, ay as TileflowRuntimeManifestMapEntry, az as TileflowRuntimeManifestTheme, aA as TileflowRuntimeSource, aB as TileflowRuntimeSourceValidation, aC as TileflowRuntimeStyle, aD as TileflowRuntimeStyleOptions, aE as TileflowRuntimeSystemThemes, aF as TileflowRuntimeViewOptions, aG as TileflowSessionController, aH as TileflowSessionGrantResponse, aI as TileflowStringStyleValue, aJ as TileflowStructuralStyleValue, aK as TileflowStyleFontFace, aL as TileflowStyleValue, aM as TileflowSymbolPlacement, aN as TileflowSymbolPlacementStyle, aO as TileflowSymbolZOrder, aP as TileflowTerrain, aQ as TileflowTerrainConfig, aR as TileflowTerrainContourLabelStyle, aS as TileflowTerrainContourLineStyle, aT as TileflowTerrainContoursConfig, aU as TileflowTerrainEncoding, aV as TileflowTerrainHillshadeStyle, aW as TileflowTerrainLayerRange, aX as TileflowTerrainMode, aY as TileflowTextAnchor, aZ as TileflowTextJustify, a_ as TileflowTextLayout, a$ as TileflowTextPaint, b0 as TileflowTextStyle, b1 as TileflowThemeColorAlpha, b2 as TileflowThemeColorMix, b3 as TileflowThemeColorValue, b4 as TileflowThemeFontValue, b5 as TileflowThemeImageValue, b6 as TileflowThemeNumberValue, b7 as TileflowThemeSelection, b8 as TileflowThemeTokenCategory, b9 as TileflowThemeValue, ba as TileflowViewConfig, bb as TileflowWaterLabelClass, bc as TileflowZoomInterpolation, bd as TileflowZoomValue, be as ValidationResult, bf as assertValidTileflowRuntimeSource, bg as clearTileflowManifestCache, bh as color, bi as createTileflowSessionController, bj as createTileflowSessionId, bk as defaultTileflowManifestUrl, bl as defaultTileflowRuntimeView, bm as fixed, bn as getTileflowAnalyticsApiUrl, bo as getTileflowStyleFontFaces, bp as inferTileflowAnalyticsFromStyleUrl, bq as loadTileflowManifest, br as mergeTileflowAnalytics, bs as normalizeTileflowRuntimeCenter, bt as normalizeTileflowStaticImageSize, bu as normalizeTileflowUrl, bv as parseTileflowRuntimeManifest, bw as resolveTileflowAnalyticsRequestUrl, bx as resolveTileflowManifestMap, by as resolveTileflowMapMode, bz as resolveTileflowRuntimeStyle, bA as resolveTileflowRuntimeTheme, bB as resolveTileflowRuntimeView, bC as resolveTileflowStaticImageUrl, bD as safeParseTileflowRuntimeManifest, bE as shouldLoadTileflowManifest, bF as startTileflowSession, bG as tileflowPoiCategories, bH as tileflowRuntimeManifestLimits, bI as tileflowRuntimeManifestSchema, bJ as tileflowRuntimeManifestVersion, bK as tileflowStyleFontFaceLimits, bL as tileflowStyleFontFacesMetadataKey, bM as tileflowThemeTokenCategories, bN as token, bO as validateTileflowRuntimeSource, bP as validateTileflowThemeSelection, bQ as zoom } from './manifest-B5GKVMFE.js';
5
5
  export { N as NormalizedTileflowCaptureScene, a as TileflowCaptureApplicationTarget, b as TileflowCaptureBoundsCamera, c as TileflowCaptureCamera, d as TileflowCaptureCenterCamera, e as TileflowCaptureMapTarget, T as TileflowCaptureScene, f as TileflowCaptureTarget, g as TileflowCaptureViewport, n as normalizeTileflowCaptureId, h as normalizeTileflowCaptureScene, t as tileflowCaptureApplicationTargetSchema, i as tileflowCaptureBoundsCameraSchema, j as tileflowCaptureCameraSchema, k as tileflowCaptureCenterCameraSchema, l as tileflowCaptureIdSchema, m as tileflowCaptureMapTargetSchema, o as tileflowCaptureSceneLimits, p as tileflowCaptureSceneNameSchema, q as tileflowCaptureSceneSchema, r as tileflowCaptureSceneSchemaVersion, s as tileflowCaptureTargetSchema, u as tileflowCaptureViewportSchema } from './capture-scene-BK_0J2oR.js';
6
6
  export { tileflowPortableIdSchema, tileflowThemeNameSchema } from './capture.js';
7
- export { T as TileflowAnalytics, f as TileflowManifestFetchOptions, g as TileflowManifestLoadOptions, h as TileflowMapMarker, i as TileflowMapMode, j as TileflowMapModeOptions, k as TileflowResolvedRuntimeTheme, l as TileflowRuntimeCenterLike, d as TileflowRuntimeColorScheme, e as TileflowRuntimeManifest, m as TileflowRuntimeManifestMap, n as TileflowRuntimeManifestMapEntry, o as TileflowRuntimeManifestTheme, p as TileflowRuntimeSource, q as TileflowRuntimeSourceValidation, b as TileflowRuntimeStyle, r as TileflowRuntimeStyleOptions, s as TileflowRuntimeSystemThemes, t as TileflowRuntimeViewOptions, c as TileflowSessionController, u as TileflowSessionGrantResponse, a as TileflowStyleFontFace, v as TileflowThemeSelection, w as assertValidTileflowRuntimeSource, x as clearTileflowManifestCache, y as createTileflowSessionController, z as createTileflowSessionId, A as defaultTileflowManifestUrl, B as defaultTileflowRuntimeView, C as getTileflowAnalyticsApiUrl, D as getTileflowStyleFontFaces, E as inferTileflowAnalyticsFromStyleUrl, F as loadTileflowManifest, G as mergeTileflowAnalytics, H as normalizeTileflowRuntimeCenter, I as normalizeTileflowStaticImageSize, J as normalizeTileflowUrl, K as parseTileflowRuntimeManifest, L as resolveTileflowAnalyticsRequestUrl, M as resolveTileflowManifestMap, N as resolveTileflowMapMode, O as resolveTileflowRuntimeStyle, P as resolveTileflowRuntimeTheme, Q as resolveTileflowRuntimeView, R as resolveTileflowStaticImageUrl, S as safeParseTileflowRuntimeManifest, U as shouldLoadTileflowManifest, V as startTileflowSession, W as tileflowRuntimeManifestLimits, X as tileflowRuntimeManifestSchema, Y as tileflowRuntimeManifestVersion, Z as tileflowStyleFontFaceLimits, _ as tileflowStyleFontFacesMetadataKey, $ as validateTileflowRuntimeSource, a0 as validateTileflowThemeSelection } from './runtime-C4MtSzkB.js';
8
- export { O as OpenMapTilesFieldBindings, a as OpenMapTilesLayerBindings, f as OpenMapTilesSchema, g as OpenMapTilesSchemaOptions, P as ParkLayerSemantics, R as ResolvedTileflowData, h as TileflowAddressesModuleConfig, i as TileflowAddressesModuleOptions, j as TileflowAerowaysModuleConfig, k as TileflowAerowaysModuleOptions, l as TileflowBoundariesModuleConfig, m as TileflowBoundariesModuleOptions, n as TileflowBuildingMode, o as TileflowBuildingsModuleConfig, p as TileflowBuildingsModuleOptions, d as TileflowDataConfig, q as TileflowDataIdentity, r as TileflowLandModuleConfig, s as TileflowLandModuleOptions, t as TileflowLandcoverClass, u as TileflowLandformClass, v as TileflowLandformsModuleConfig, w as TileflowLandformsModuleOptions, x as TileflowLanduseClass, y as TileflowNauticalAreaLabelStyles, z as TileflowNauticalModuleConfig, A as TileflowNauticalModuleOptions, e as TileflowStreetsModules, B as TileflowTransitModuleConfig, C as TileflowTransitModuleOptions, D as TileflowTransitRailStyle, E as TileflowVegetationMode, F as TileflowVegetationModuleConfig, G as TileflowVegetationModuleOptions, H as TileflowVegetationThreeDimensionalStyle, b as TileflowVisualValueCategory, I as TileflowWaterModuleConfig, J as TileflowWaterModuleOptions, K as TileflowWaterwayClass, L as TileflowWorldData, M as TileflowWorldReleaseReference, N as TileflowWorldSelection, Q as TileflowWorldV1Schema, V as VectorTilesData, S as addresses, U as aeroways, W as boundaries, X as buildings, c as classifyTileflowVisualProperty, Y as isCanonicalOpenMapTilesSchema, Z as land, _ as landforms, $ as nautical, a0 as openMapTiles, a1 as openMapTilesContractVersion, a2 as resolveTileflowData, a3 as tileflowLandformClasses, a4 as tileflowPrimarySourceId, a5 as tileflowWorld, a6 as tileflowWorldGeneration, a7 as tileflowWorldTileJsonUrl, a8 as tileflowWorldV1Schema, a9 as transit, aa as validateTileflowWorldV1Tilejson, ab as vectorTiles, ac as vegetation, ad as water } from './visual-semantics-DTC-8Hsb.js';
9
7
  import { z } from 'zod';
10
8
 
11
9
  declare const tileflowPortableIdMaximumLength: 64;
@@ -30,12 +28,17 @@ type ExactTileflowMapScenes<TMap> = TMap extends {
30
28
  [TName in keyof TScenes]: ExactTileflowMap<TileflowMapScene, TScenes[TName]>;
31
29
  };
32
30
  } : unknown;
33
- /** Preserve the exact inferred type of a compiler-root map. */
34
- declare function defineRootMap<const TMap extends TileflowRootMap>(map: ExactTileflowMap<TileflowRootMap, TMap> & ExactTileflowMapScenes<TMap>): TMap;
35
- /** Preserve the exact inferred type of a map that extends another map object. */
36
- declare function defineMap<const TMap extends TileflowDerivedMap>(map: ExactTileflowMap<TileflowDerivedMap, TMap> & ExactTileflowMapScenes<TMap>): TMap;
31
+ /** Preserve the exact inferred type of a standalone or inherited semantic map. */
32
+ declare function defineMap<const TMap extends TileflowMap>(map: ExactTileflowMap<TileflowMap, TMap> & ExactTileflowMapScenes<TMap>): TMap;
37
33
 
38
34
  declare const tileflowMapDefaultMaxDepth = 64;
35
+ /** Structured authoring failure surfaced unchanged by validate/explain JSON commands. */
36
+ declare class TileflowMapResolutionError extends Error {
37
+ readonly code: string;
38
+ readonly mapId: string;
39
+ readonly path: string;
40
+ constructor(code: string, mapId: string, path: string, message: string);
41
+ }
39
42
  /** Resolve an imported map lineage to one standalone authoring map. */
40
43
  declare function resolveMap(map: TileflowMap, options?: ResolveMapOptions): ResolvedTileflowMap;
41
44
 
@@ -46,11 +49,469 @@ declare class TileflowResolvedMapValidationError extends Error {
46
49
  readonly phase: "config-validation";
47
50
  constructor(name: string, messages: ValidationMessage[]);
48
51
  }
52
+ declare function parseResolvedTileflowMap(input: unknown): ResolvedTileflowMap;
53
+
54
+ /** A schema-bound data field whose physical name is assigned only during compilation. */
55
+ type TileflowDataFieldReference<TName extends keyof OpenMapTilesFieldBindings = keyof OpenMapTilesFieldBindings> = Readonly<{
56
+ kind: 'tileflow-data-field';
57
+ name: TName;
58
+ }>;
59
+ type TileflowNumericDataFieldName = 'activityScore' | 'adminLevel' | 'bathymetryMinDepth' | 'bathymetrySortKey' | 'circularClearanceExtraAtZoom15' | 'circularInnerRadiusMeters' | 'circularOuterRadiusMeters' | 'circularRadiusAtZoom15' | 'circularRadiusMeters' | 'classificationConfidence' | 'confidence' | 'circumference' | 'diameterCrown' | 'elevation' | 'elevationFeet' | 'hasBusiness' | 'hasParts' | 'height' | 'hide3d' | 'importanceTier' | 'minHeight' | 'minZoom' | 'oneway' | 'poiFilterRank' | 'poiSizeRank' | 'ramp' | 'rank' | 'refLength' | 'renderHeight' | 'renderMinHeight' | 'renderMinZoom' | 'shieldLineLengthMeters' | 'shieldRank';
60
+ /** Runtime value implied by one registered semantic field, independent of its physical name. */
61
+ type TileflowDataFieldValue<TName extends keyof OpenMapTilesFieldBindings> = TName extends TileflowNumericDataFieldName ? number : string;
62
+ /**
63
+ * Reference a semantic field in a typed expression without capturing an
64
+ * OpenMapTiles property name. The active data schema supplies the physical
65
+ * binding at the final lowering boundary.
66
+ */
67
+ declare function field<const TName extends keyof OpenMapTilesFieldBindings>(name: TName): TileflowDataFieldReference<TName>;
68
+
69
+ /** The value a themed authoring node produces after theme resolution. */
70
+ type TileflowDataExpressionResult<T> = T extends TileflowFixedValue<infer TValue> ? TValue : T extends TileflowThemeTokenReference<infer TCategory> ? TCategory extends 'number' ? number : string : T extends TileflowThemeColorOperation ? string : T;
71
+ type TileflowDataExpressionInput<T> = TileflowDataFieldReference | TileflowExpression<T> | T;
72
+ type TileflowDataMatchBranch<TInput extends boolean | number | string, TOutput> = Readonly<{
73
+ labels: TInput | readonly TInput[];
74
+ value: TileflowDataExpressionInput<TOutput>;
75
+ }>;
76
+ type TileflowDataCaseBranch<T> = Readonly<{
77
+ value: TileflowDataExpressionInput<T>;
78
+ when: TileflowDataExpressionInput<boolean>;
79
+ }>;
80
+ type TileflowDataInterpolation = Readonly<{
81
+ kind: 'linear';
82
+ }> | Readonly<{
83
+ base: number;
84
+ kind: 'exponential';
85
+ }> | Readonly<{
86
+ kind: 'cubic-bezier';
87
+ x1: number;
88
+ x2: number;
89
+ y1: number;
90
+ y2: number;
91
+ }>;
92
+ type TileflowDataStop<T> = readonly [number, TileflowDataExpressionInput<T>];
93
+ declare const tileflowDataExpressionLimits: Readonly<{
94
+ readonly maxBranches: 16;
95
+ readonly maxOperands: 16;
96
+ readonly maxStops: 16;
97
+ }>;
98
+ declare function get<TName extends TileflowDataFieldReference['name']>(reference: TileflowDataFieldReference<TName>): TileflowExpression<TileflowDataFieldValue<TName>>;
99
+ declare function literal<T>(value: T): TileflowExpression<TileflowDataExpressionResult<T>>;
100
+ declare function zoom(): TileflowExpression<number>;
101
+ declare function coalesce<T>(first: TileflowDataExpressionInput<T>, ...rest: readonly TileflowDataExpressionInput<T>[]): TileflowExpression<TileflowDataExpressionResult<T>>;
102
+ declare function toNumber(value: TileflowDataExpressionInput<unknown>, fallback?: TileflowDataExpressionInput<number>): TileflowExpression<number>;
103
+ declare function toBoolean(value: TileflowDataExpressionInput<unknown>, fallback?: TileflowDataExpressionInput<boolean>): TileflowExpression<boolean>;
104
+ declare function toString(value: TileflowDataExpressionInput<unknown>): TileflowExpression<string>;
105
+ declare function featureState(name: string): TileflowExpression<unknown>;
106
+ declare function variable<T>(name: string): TileflowExpression<T>;
107
+ declare function letValue<TBinding, TResult>(name: string, value: TileflowDataExpressionInput<TBinding>, body: TileflowDataExpressionInput<TResult>): TileflowExpression<TileflowDataExpressionResult<TResult>>;
108
+ declare function abs(value: TileflowDataExpressionInput<number>): TileflowExpression<number>;
109
+ declare function add(first: TileflowDataExpressionInput<number>, second: TileflowDataExpressionInput<number>, ...rest: readonly TileflowDataExpressionInput<number>[]): TileflowExpression<number>;
110
+ declare function subtract(first: TileflowDataExpressionInput<number>, second: TileflowDataExpressionInput<number>): TileflowExpression<number>;
111
+ declare function divide(dividend: TileflowDataExpressionInput<number>, divisor: TileflowDataExpressionInput<number>): TileflowExpression<number>;
112
+ declare function multiply(first: TileflowDataExpressionInput<number>, second: TileflowDataExpressionInput<number>, ...rest: readonly TileflowDataExpressionInput<number>[]): TileflowExpression<number>;
113
+ declare function minimum(first: TileflowDataExpressionInput<number>, second: TileflowDataExpressionInput<number>, ...rest: readonly TileflowDataExpressionInput<number>[]): TileflowExpression<number>;
114
+ declare function maximum(first: TileflowDataExpressionInput<number>, second: TileflowDataExpressionInput<number>, ...rest: readonly TileflowDataExpressionInput<number>[]): TileflowExpression<number>;
115
+ declare function concat(first: TileflowDataExpressionInput<string>, ...rest: readonly TileflowDataExpressionInput<string>[]): TileflowExpression<string>;
116
+ declare function all(first: TileflowDataExpressionInput<boolean>, ...rest: readonly TileflowDataExpressionInput<boolean>[]): TileflowExpression<boolean>;
117
+ declare function any(first: TileflowDataExpressionInput<boolean>, ...rest: readonly TileflowDataExpressionInput<boolean>[]): TileflowExpression<boolean>;
118
+ declare function not(value: TileflowDataExpressionInput<boolean>): TileflowExpression<boolean>;
119
+ declare function has(reference: TileflowDataFieldReference): TileflowExpression<boolean>;
120
+ declare function match<TInput extends boolean | number | string, TOutput>(input: TileflowDataExpressionInput<TInput>, branches: readonly [
121
+ TileflowDataMatchBranch<TInput, TOutput>,
122
+ ...TileflowDataMatchBranch<TInput, TOutput>[]
123
+ ], fallback: TileflowDataExpressionInput<TOutput>): TileflowExpression<TileflowDataExpressionResult<TOutput>>;
124
+ declare function caseValue<T>(branches: readonly [TileflowDataCaseBranch<T>, ...TileflowDataCaseBranch<T>[]], fallback: TileflowDataExpressionInput<T>): TileflowExpression<TileflowDataExpressionResult<T>>;
125
+ declare function step<T>(input: TileflowDataExpressionInput<number>, fallback: TileflowDataExpressionInput<T>, stops: readonly [TileflowDataStop<T>, ...TileflowDataStop<T>[]]): TileflowExpression<TileflowDataExpressionResult<T>>;
126
+ declare function interpolate<T>(interpolation: TileflowDataInterpolation, input: TileflowDataExpressionInput<number>, stops: readonly [TileflowDataStop<T>, ...TileflowDataStop<T>[]]): TileflowExpression<TileflowDataExpressionResult<T>>;
127
+ /**
128
+ * Closed, typed data-expression builders. They preserve semantic field refs
129
+ * and lower to byte-equivalent MapLibre expressions only inside the compiler.
130
+ */
131
+ declare const expr: Readonly<{
132
+ abs: typeof abs;
133
+ add: typeof add;
134
+ all: typeof all;
135
+ any: typeof any;
136
+ case: typeof caseValue;
137
+ coalesce: typeof coalesce;
138
+ concat: typeof concat;
139
+ divide: typeof divide;
140
+ eq: <T>(left: TileflowDataExpressionInput<T>, right: TileflowDataExpressionInput<T>) => TileflowExpression<boolean>;
141
+ get: typeof get;
142
+ gt: <T>(left: TileflowDataExpressionInput<T>, right: TileflowDataExpressionInput<T>) => TileflowExpression<boolean>;
143
+ gte: <T>(left: TileflowDataExpressionInput<T>, right: TileflowDataExpressionInput<T>) => TileflowExpression<boolean>;
144
+ has: typeof has;
145
+ featureState: typeof featureState;
146
+ interpolate: typeof interpolate;
147
+ let: typeof letValue;
148
+ literal: typeof literal;
149
+ lt: <T>(left: TileflowDataExpressionInput<T>, right: TileflowDataExpressionInput<T>) => TileflowExpression<boolean>;
150
+ lte: <T>(left: TileflowDataExpressionInput<T>, right: TileflowDataExpressionInput<T>) => TileflowExpression<boolean>;
151
+ match: typeof match;
152
+ max: typeof maximum;
153
+ min: typeof minimum;
154
+ multiply: typeof multiply;
155
+ ne: <T>(left: TileflowDataExpressionInput<T>, right: TileflowDataExpressionInput<T>) => TileflowExpression<boolean>;
156
+ not: typeof not;
157
+ step: typeof step;
158
+ subtract: typeof subtract;
159
+ toBoolean: typeof toBoolean;
160
+ toNumber: typeof toNumber;
161
+ toString: typeof toString;
162
+ var: typeof variable;
163
+ zoom: typeof zoom;
164
+ }>;
165
+
166
+ declare const tileflowRenderStackPhases: readonly ["underlay", "overlay", "postRelief", "annotation", "finish"];
167
+ declare const tileflowRenderStackRenderers: readonly ["background", "circle", "extrusion", "fill", "line", "symbol"];
168
+ declare const tileflowRenderSelectorKinds: readonly ["all", "any", "compare", "geometry", "has", "in", "literal", "match", "not", "step"];
169
+ declare const tileflowRenderSelectorComparisons: readonly ["eq", "gt", "gte", "lt", "lte", "ne"];
170
+ declare const tileflowRenderSelectorGeometries: readonly ["line", "point", "polygon"];
171
+ declare const tileflowRenderStackLimits: Readonly<{
172
+ readonly maxMatchBranches: 16;
173
+ readonly maxOperations: 64;
174
+ readonly maxRequirements: number;
175
+ readonly maxScalarValues: 16;
176
+ readonly maxSelectorChildren: 16;
177
+ readonly maxSelectorDepth: 64;
178
+ readonly maxSelectorNodes: 256;
179
+ readonly maxStepStops: 16;
180
+ }>;
181
+ type TileflowRenderStackPhase = (typeof tileflowRenderStackPhases)[number];
182
+ type TileflowRenderFeature = keyof OpenMapTilesLayerBindings;
183
+ type TileflowRenderField = keyof OpenMapTilesFieldBindings;
184
+ type TileflowRenderScalar = boolean | number | string;
185
+ type TileflowRenderGeometry = (typeof tileflowRenderSelectorGeometries)[number];
186
+ type TileflowRenderComparison = (typeof tileflowRenderSelectorComparisons)[number];
187
+ type TileflowNormalizedRenderField = {
188
+ /** Convert the bound field before comparing it. */
189
+ readonly coerce?: 'number';
190
+ /** Coalesced value, or the numeric conversion fallback when `coerce` is `number`. */
191
+ readonly fallback?: TileflowRenderScalar;
192
+ readonly field: TileflowRenderField;
193
+ };
194
+ type TileflowRenderSelector = {
195
+ readonly kind: 'all' | 'any';
196
+ readonly selectors: readonly TileflowRenderSelector[];
197
+ } | (TileflowNormalizedRenderField & {
198
+ readonly kind: 'compare';
199
+ readonly operator: TileflowRenderComparison;
200
+ readonly value: TileflowRenderScalar;
201
+ }) | {
202
+ readonly geometry: TileflowRenderGeometry;
203
+ readonly kind: 'geometry';
204
+ } | {
205
+ readonly field: TileflowRenderField;
206
+ readonly kind: 'has';
207
+ } | (TileflowNormalizedRenderField & {
208
+ readonly kind: 'in';
209
+ readonly values: readonly TileflowRenderScalar[];
210
+ }) | {
211
+ readonly kind: 'literal';
212
+ readonly value: boolean;
213
+ } | (TileflowNormalizedRenderField & {
214
+ readonly branches: readonly {
215
+ readonly result: boolean;
216
+ readonly values: readonly TileflowRenderScalar[];
217
+ }[];
218
+ readonly kind: 'match';
219
+ readonly otherwise: boolean;
220
+ }) | {
221
+ readonly kind: 'not';
222
+ readonly selector: TileflowRenderSelector;
223
+ } | {
224
+ readonly fallback: TileflowRenderSelector;
225
+ readonly kind: 'step';
226
+ readonly stops: readonly {
227
+ readonly selector: TileflowRenderSelector;
228
+ readonly zoom: number;
229
+ }[];
230
+ };
231
+ type TileflowRenderVisibilityGroup = 'building';
232
+ type TileflowRenderStyle<TStyle> = TStyle & {
233
+ /** Runtime-controlled group; hidden initially and toggled without raw metadata authoring. */
234
+ readonly visibilityGroup?: TileflowRenderVisibilityGroup;
235
+ };
236
+ type TileflowRenderPassCommon = {
237
+ readonly attachTo: string;
238
+ readonly phase: TileflowRenderStackPhase;
239
+ /** Additional rendered domains required by this pass. Data `feature` bindings are independent. */
240
+ readonly requirements?: readonly TileflowLayerDomain[];
241
+ };
242
+ type TileflowVectorRenderPass<TRenderer extends string, TStyle> = TileflowRenderPassCommon & {
243
+ readonly feature?: TileflowRenderFeature;
244
+ readonly renderer: TRenderer;
245
+ readonly selector?: TileflowRenderSelector;
246
+ readonly style: TileflowRenderStyle<TStyle>;
247
+ };
248
+ type TileflowRenderPassInput = (TileflowRenderPassCommon & {
249
+ readonly feature?: never;
250
+ readonly renderer: 'background';
251
+ readonly selector?: never;
252
+ readonly style: TileflowRenderStyle<TileflowBackgroundStyle>;
253
+ }) | TileflowVectorRenderPass<'circle', TileflowCircleStyle> | TileflowVectorRenderPass<'extrusion', TileflowExtrusionStyle> | TileflowVectorRenderPass<'fill', TileflowFillStyle> | TileflowVectorRenderPass<'line', TileflowLineStyle> | TileflowVectorRenderPass<'symbol', TileflowSymbolStyle>;
254
+ type TileflowRenderPass = TileflowRenderPassInput & {
255
+ readonly kind: 'render-pass';
256
+ };
257
+ type TileflowRefinementCommon<TRenderer extends string, TStyle> = {
258
+ /** Rendered domains required for this refinement's semantic target to exist. */
259
+ readonly requirements?: readonly TileflowLayerDomain[];
260
+ readonly renderer: TRenderer;
261
+ readonly selector?: TileflowRenderSelector;
262
+ readonly style: TileflowRenderStyle<TStyle>;
263
+ readonly target: string;
264
+ };
265
+ type TileflowRenderTargetRefinementInput = (Omit<TileflowRefinementCommon<'background', TileflowBackgroundStyle>, 'selector'> & {
266
+ readonly selector?: never;
267
+ }) | TileflowRefinementCommon<'circle', TileflowCircleStyle> | TileflowRefinementCommon<'extrusion', TileflowExtrusionStyle> | TileflowRefinementCommon<'fill', TileflowFillStyle> | TileflowRefinementCommon<'line', TileflowLineStyle> | TileflowRefinementCommon<'symbol', TileflowSymbolStyle>;
268
+ type TileflowRenderTargetRefinement = TileflowRenderTargetRefinementInput & {
269
+ readonly kind: 'refine-render-target';
270
+ };
271
+ type TileflowRenderStackOperation = TileflowRenderPass | TileflowRenderTargetRefinement;
272
+ type TileflowNamedRenderStack = Readonly<Record<string, TileflowRenderStackOperation>>;
273
+ type TileflowModuleWithRenderStack<TModule extends {
274
+ readonly type: TileflowLayerDomain;
275
+ }, TStack extends TileflowNamedRenderStack> = TModule & {
276
+ readonly renderStack: TStack;
277
+ };
278
+ /** Define one ownerless render pass. Its owner and stable name are assigned by `withRenderStack`. */
279
+ declare function renderPass(input: TileflowRenderPassInput): TileflowRenderPass;
280
+ /** Define an owner-local refinement without exposing a raw layer patch. */
281
+ declare function refineRenderTarget(input: TileflowRenderTargetRefinementInput): TileflowRenderTargetRefinement;
282
+ /** Attach a named render stack while retaining the module's exact inferred owner and options. */
283
+ declare function withRenderStack<const TModule extends {
284
+ readonly type: TileflowLayerDomain;
285
+ }, const TStack extends TileflowNamedRenderStack>(module: TModule & {
286
+ readonly renderStack?: never;
287
+ }, namedRecord: TStack): TileflowModuleWithRenderStack<TModule, TStack>;
288
+
289
+ /** Internal compiler identity. Authoring maps never select or version this implementation. */
290
+ declare const tileflowSemanticCompilerIdentity: Readonly<{
291
+ readonly name: "tileflow-semantic";
292
+ readonly version: 1;
293
+ }>;
294
+
295
+ declare const tileflowAuthoringManifestSchemaVersion: 2;
296
+ type TileflowAuthoringCommandName = 'explain' | 'inspect' | 'language-manifest' | 'language-schema' | 'semantic-diff' | 'validate';
297
+ type TileflowAuthoringCommandOutputKind = 'command-envelope' | 'raw-authoring-manifest' | 'raw-config-reference';
298
+ type TileflowAuthoringCommand = Readonly<{
299
+ command: string;
300
+ name: TileflowAuthoringCommandName;
301
+ output: string;
302
+ outputKind: TileflowAuthoringCommandOutputKind;
303
+ /** Stable identifier for the exact versioned JSON contract emitted on success. */
304
+ outputSchemaRef: string;
305
+ outputVersion: 1 | 2 | 4;
306
+ purpose: string;
307
+ writes: false;
308
+ }>;
309
+ type TileflowAuthoringExpressionBuilder = Readonly<{
310
+ arguments: readonly string[];
311
+ name: keyof typeof expr;
312
+ returns: string;
313
+ serializedOperator: string;
314
+ }>;
315
+ type TileflowAuthoringOperation = Readonly<{
316
+ api: string;
317
+ description: string;
318
+ name: 'define-map' | 'data-expression' | 'disable-domain' | 'hosted-source' | 'maplibre-overlay' | 'remove-resource' | 'extend-map' | 'refine-domain' | 'refine-render-target' | 'render-pass' | 'reset-value' | 'replace-domain';
319
+ scope: 'domain' | 'expression' | 'map' | 'render-stack' | 'resource';
320
+ }>;
321
+ type TileflowAuthoringManifestDomain = Readonly<{
322
+ api: string;
323
+ authoringSchemaRef: string;
324
+ dependencies: Readonly<{
325
+ modules: readonly TileflowSemanticModuleName[];
326
+ services: readonly string[];
327
+ }>;
328
+ name: TileflowSemanticModuleName;
329
+ optionsSchemaRef: string;
330
+ order: number;
331
+ patchSchemaRef: string;
332
+ provides: readonly string[];
333
+ resolvedSchemaRef: string;
334
+ targetDiscovery: Readonly<{
335
+ command: 'tileflow explain --json';
336
+ domain: TileflowSemanticModuleName;
337
+ reportPath: 'compilation.report.domains[].targets';
338
+ }>;
339
+ }>;
340
+ type TileflowAuthoringManifest = Readonly<{
341
+ compilation: Readonly<{
342
+ diagnostic: Readonly<{
343
+ optional: readonly ['domain', 'path', 'suggestion', 'target'];
344
+ phases: typeof tileflowCompilationPhases;
345
+ required: readonly ['code', 'message', 'phase', 'severity'];
346
+ severities: readonly ['error', 'warning'];
347
+ }>;
348
+ report: Readonly<{
349
+ domain: Readonly<{
350
+ optional: readonly ['suppressionReason'];
351
+ required: readonly [
352
+ 'contributionCount',
353
+ 'name',
354
+ 'renderOperationCount',
355
+ 'status',
356
+ 'targets'
357
+ ];
358
+ statuses: readonly ['emitted', 'suppressed'];
359
+ suppressionReasons: readonly ['disabled', 'no-contributions'];
360
+ }>;
361
+ optional: readonly ['provenance', 'requirements', 'theme'];
362
+ planner: Readonly<{
363
+ optional: readonly ['candidateCount', 'selectedCount'];
364
+ required: readonly ['inputCount', 'outputCount', 'stage'];
365
+ stages: typeof tileflowCompilationPlannerStages;
366
+ }>;
367
+ required: readonly ['domains', 'map', 'planner', 'schemaVersion', 'targets'];
368
+ schemaVersion: typeof tileflowCompilationReportSchemaVersion;
369
+ }>;
370
+ physicalInspection: Readonly<{
371
+ addressable: false;
372
+ command: 'tileflow explain --inspection --json';
373
+ mode: 'opt-in-read-only';
374
+ reportPath: 'compilation.report.provenance';
375
+ stability: 'physical-output-only';
376
+ }>;
377
+ result: Readonly<{
378
+ discriminator: 'ok';
379
+ failure: Readonly<{
380
+ forbidden: readonly ['style'];
381
+ ok: false;
382
+ required: readonly ['diagnostics', 'ok', 'report'];
383
+ }>;
384
+ success: Readonly<{
385
+ ok: true;
386
+ required: readonly ['diagnostics', 'ok', 'report', 'style'];
387
+ }>;
388
+ }>;
389
+ }>;
390
+ compiler: Readonly<{
391
+ name: typeof tileflowSemanticCompilerIdentity.name;
392
+ version: typeof tileflowSemanticCompilerIdentity.version;
393
+ }>;
394
+ commands: readonly TileflowAuthoringCommand[];
395
+ domains: readonly TileflowAuthoringManifestDomain[];
396
+ expressions: Readonly<{
397
+ builders: readonly TileflowAuthoringExpressionBuilder[];
398
+ categorySchemaRefs: Readonly<{
399
+ color: '#/$defs/TileflowDataExpressionColor';
400
+ image: '#/$defs/TileflowDataExpressionImage';
401
+ number: '#/$defs/TileflowDataExpressionNumber';
402
+ structural: '#/$defs/TileflowDataExpressionStructural';
403
+ }>;
404
+ limits: typeof tileflowDataExpressionLimits;
405
+ fieldReference: 'field(name)';
406
+ }>;
407
+ language: 'tileflow-semantic-v1';
408
+ operations: readonly TileflowAuthoringOperation[];
409
+ renderStack: Readonly<{
410
+ comparisons: readonly string[];
411
+ features: readonly string[];
412
+ fields: readonly string[];
413
+ geometries: readonly string[];
414
+ limits: typeof tileflowRenderStackLimits;
415
+ operationNamePattern: string;
416
+ phases: readonly string[];
417
+ renderers: readonly string[];
418
+ selectorKinds: readonly string[];
419
+ targetPattern: string;
420
+ }>;
421
+ resources: Readonly<{
422
+ hostedSources: Readonly<{
423
+ api: 'hostedTileset({ tileset, local, attribution, type?, tileSize? })';
424
+ localResolution: 'explicit-relative-pmtiles';
425
+ maxPerMap: typeof tileflowHostedSourceLimit;
426
+ identity: 'keyed-source-id-and-team-local-tileset';
427
+ }>;
428
+ overlays: Readonly<{
429
+ api: 'maplibreOverlay({ source, placement, layers })';
430
+ layers: 'ordered-maplibre-style-layers-without-source';
431
+ placement: typeof tileflowOverlayPlacements;
432
+ replacement: 'atomic-by-overlay-id';
433
+ }>;
434
+ removal: 'remove()';
435
+ }>;
436
+ resolution: Readonly<{
437
+ arrays: 'replace';
438
+ domains: 'replace-refine-disable-reset';
439
+ identity: 'leaf-owned';
440
+ inheritance: Readonly<{
441
+ maxDepth: typeof tileflowMapDefaultMaxDepth;
442
+ }>;
443
+ keyedResources: 'merge-replace-remove';
444
+ namedRecords: 'merge-by-key';
445
+ records: 'deep-merge';
446
+ scalars: 'replace';
447
+ themes: 'replace-collection';
448
+ view: 'deep-merge';
449
+ }>;
450
+ schemaVersion: typeof tileflowAuthoringManifestSchemaVersion;
451
+ schemas: Readonly<{
452
+ authoring: '#/$defs/TileflowAuthoringMap';
453
+ document: 'https://tileflow.dev/schemas/tileflow-config-reference-v4.json';
454
+ modules: '#/$defs/TileflowAuthoringModules';
455
+ resolved: '#/$defs/ResolvedTileflowMap';
456
+ }>;
457
+ workflows: Readonly<{
458
+ author: readonly ['validate', 'inspect', 'explain'];
459
+ discover: readonly ['language-manifest', 'language-schema'];
460
+ review: readonly ['semantic-diff', 'validate', 'explain'];
461
+ }>;
462
+ }>;
463
+ /**
464
+ * Stable, JSON-serializable description of the complete public V1 authoring surface.
465
+ * Domain order and dependencies come directly from the closed compiler registry.
466
+ */
467
+ declare const tileflowAuthoringManifest: TileflowAuthoringManifest;
468
+
469
+ declare const tileflowSemanticDiffSchemaVersion: 1;
470
+ type TileflowSemanticMapIdentity = Readonly<{
471
+ id: string;
472
+ version: number;
473
+ }>;
474
+ type TileflowSemanticJsonValue = boolean | null | number | string | readonly TileflowSemanticJsonValue[] | Readonly<{
475
+ [key: string]: TileflowSemanticJsonValue;
476
+ }>;
477
+ type TileflowSemanticAdd = Readonly<{
478
+ after: TileflowSemanticJsonValue;
479
+ kind: 'add';
480
+ path: string;
481
+ }>;
482
+ type TileflowSemanticRemove = Readonly<{
483
+ before: TileflowSemanticJsonValue;
484
+ kind: 'remove';
485
+ path: string;
486
+ }>;
487
+ type TileflowSemanticChange = Readonly<{
488
+ after: TileflowSemanticJsonValue;
489
+ before: TileflowSemanticJsonValue;
490
+ kind: 'change';
491
+ path: string;
492
+ }>;
493
+ type TileflowSemanticDifference = TileflowSemanticAdd | TileflowSemanticChange | TileflowSemanticRemove;
494
+ type TileflowSemanticDiff = Readonly<{
495
+ changes: readonly TileflowSemanticDifference[];
496
+ from: TileflowSemanticMapIdentity;
497
+ schemaVersion: typeof tileflowSemanticDiffSchemaVersion;
498
+ summary: Readonly<{
499
+ add: number;
500
+ change: number;
501
+ remove: number;
502
+ total: number;
503
+ }>;
504
+ to: TileflowSemanticMapIdentity;
505
+ }>;
506
+ /**
507
+ * Compare the resolved semantic designs of two maps. Identity metadata identifies the endpoints
508
+ * but is intentionally not reported as a cartographic change. Arrays are atomic because map
509
+ * inheritance replaces them rather than merging their members.
510
+ */
511
+ declare function diffTileflowMaps(from: TileflowMap | ResolvedTileflowMap, to: TileflowMap | ResolvedTileflowMap): TileflowSemanticDiff;
49
512
 
50
513
  type TileflowZoomPerformance = {
51
514
  activeLayers: number;
52
- /** @deprecated Use styleLayerFamilies. This is not a count of runtime tile buckets. */
53
- estimatedBuckets: number;
54
515
  sourceLayers: Record<string, number>;
55
516
  styleLayerFamilies: number;
56
517
  symbols: number;
@@ -64,6 +525,8 @@ type TileflowStylePerformance = {
64
525
  /** A deterministic, network-free structural sweep of a compiled style. */
65
526
  declare function analyzeTileflowStylePerformance(style: MapLibreStyle, zooms?: readonly number[]): TileflowStylePerformance;
66
527
 
528
+ declare const tileflowRoadClasses: readonly ["motorway", "trunk", "primary", "secondary", "tertiary", "minor", "service", "track", "pathway", "footway", "cycleway", "steps", "pedestrian"];
529
+
67
530
  declare function roads(options?: TileflowRoadsModuleOptions): TileflowRoadsModuleConfig;
68
531
 
69
532
  declare function labels(options?: TileflowLabelsModuleOptions): TileflowLabelsModuleConfig;
@@ -295,4 +758,4 @@ type TileflowIconManifestDiff = {
295
758
  };
296
759
  declare function diffTileflowIconPackageManifests(before: TileflowIconPackageManifest | null, after: TileflowIconPackageManifest | null): TileflowIconManifestDiff;
297
760
 
298
- export { MapLibreStyle, ResolveMapOptions, ResolvedTileflowMap, TileflowDerivedMap, type TileflowFontBundleFile, type TileflowFontBundleFontFace, type TileflowFontBundleManifest, type TileflowIconManifestDiff, type TileflowIconPackageFileName, type TileflowIconPackageManifest, TileflowLabelsModuleConfig, TileflowLabelsModuleOptions, TileflowMap, TileflowMapScene, TileflowPoiModuleConfig, TileflowPoiModuleOptions, type TileflowRenderedIconManifestEntry, TileflowResolvedMapValidationError, TileflowRoadsModuleConfig, TileflowRoadsModuleOptions, type TileflowStylePerformance, type TileflowZoomPerformance, ValidationMessage, analyzeTileflowStylePerformance, compareCodeUnits, defineMap, defineRootMap, diffTileflowIconPackageManifests, hashTileflowFontBundleManifest, hashTileflowIconPackageManifest, hashTileflowRenderedIconPixels, isTileflowPortableId, isTileflowThemeName, isTileflowWorldReleaseId, labels, poi, resolveMap, roads, serializeCanonicalJson, serializeTileflowFontBundleManifest, serializeTileflowIconPackageManifest, sha256Hex, tileflowFontBundleContentHashSchema, tileflowFontBundleLimits, tileflowFontBundleManifestSchema, tileflowHostedAlphaCompatibility, tileflowIconIdPattern, tileflowIconIdSchema, tileflowIconPackageContentHashSchema, tileflowIconPackageFileNames, tileflowIconPackageLabelSchema, tileflowIconPackageLimits, tileflowIconPackageManifestSchema, tileflowMapDefaultMaxDepth, tileflowPoiImageRoles, tileflowPortableIdMaximumLength, tileflowRenderedIconManifestEntrySchema, tileflowWorldReleaseIdMaximumLength, tileflowWorldReleaseIdMinimumLength, tileflowWorldReleaseIdPattern, tileflowWorldReleaseIdPatternSource, tileflowWorldReleaseIdSchema };
761
+ export { MapLibreStyle, OpenMapTilesFieldBindings, OpenMapTilesLayerBindings, ResolveMapOptions, ResolvedTileflowMap, type TileflowAuthoringCommand, type TileflowAuthoringCommandName, type TileflowAuthoringCommandOutputKind, type TileflowAuthoringExpressionBuilder, type TileflowAuthoringManifest, type TileflowAuthoringManifestDomain, type TileflowAuthoringOperation, TileflowBackgroundStyle, TileflowCircleStyle, type TileflowDataCaseBranch, type TileflowDataExpressionInput, type TileflowDataExpressionResult, type TileflowDataFieldReference, type TileflowDataFieldValue, type TileflowDataInterpolation, type TileflowDataMatchBranch, type TileflowDataStop, TileflowExtrusionStyle, TileflowFillStyle, TileflowFixedValue, type TileflowFontBundleFile, type TileflowFontBundleFontFace, type TileflowFontBundleManifest, type TileflowIconManifestDiff, type TileflowIconPackageFileName, type TileflowIconPackageManifest, TileflowLabelsModuleConfig, TileflowLabelsModuleOptions, TileflowLineStyle, TileflowMap, TileflowMapResolutionError, TileflowMapScene, type TileflowModuleWithRenderStack, type TileflowNamedRenderStack, type TileflowNumericDataFieldName, TileflowPoiModuleConfig, TileflowPoiModuleOptions, type TileflowRenderComparison, type TileflowRenderFeature, type TileflowRenderField, type TileflowRenderGeometry, type TileflowRenderPass, type TileflowRenderPassInput, type TileflowRenderScalar, type TileflowRenderSelector, type TileflowRenderStackOperation, type TileflowRenderStackPhase, type TileflowRenderTargetRefinement, type TileflowRenderTargetRefinementInput, type TileflowRenderVisibilityGroup, type TileflowRenderedIconManifestEntry, TileflowResolvedMapValidationError, TileflowRoadsModuleConfig, TileflowRoadsModuleOptions, type TileflowSemanticAdd, type TileflowSemanticChange, type TileflowSemanticDiff, type TileflowSemanticDifference, type TileflowSemanticJsonValue, type TileflowSemanticMapIdentity, type TileflowSemanticRemove, type TileflowStylePerformance, TileflowSymbolStyle, TileflowThemeColorOperation, TileflowThemeTokenReference, type TileflowZoomPerformance, ValidationMessage, analyzeTileflowStylePerformance, compareCodeUnits, defineMap, diffTileflowIconPackageManifests, diffTileflowMaps, expr, field, hashTileflowFontBundleManifest, hashTileflowIconPackageManifest, hashTileflowRenderedIconPixels, isTileflowPortableId, isTileflowThemeName, isTileflowWorldReleaseId, labels, parseResolvedTileflowMap, poi, refineRenderTarget, renderPass, resolveMap, roads, serializeCanonicalJson, serializeTileflowFontBundleManifest, serializeTileflowIconPackageManifest, sha256Hex, tileflowAuthoringManifest, tileflowAuthoringManifestSchemaVersion, tileflowCompilationPhases, tileflowCompilationPlannerStages, tileflowCompilationReportSchemaVersion, tileflowFontBundleContentHashSchema, tileflowFontBundleLimits, tileflowFontBundleManifestSchema, tileflowHostedAlphaCompatibility, tileflowHostedSourceLimit, tileflowIconIdPattern, tileflowIconIdSchema, tileflowIconPackageContentHashSchema, tileflowIconPackageFileNames, tileflowIconPackageLabelSchema, tileflowIconPackageLimits, tileflowIconPackageManifestSchema, tileflowMapDefaultMaxDepth, tileflowOverlayPlacements, tileflowPoiImageRoles, tileflowPortableIdMaximumLength, tileflowRenderSelectorComparisons, tileflowRenderSelectorGeometries, tileflowRenderSelectorKinds, tileflowRenderStackLimits, tileflowRenderStackPhases, tileflowRenderStackRenderers, tileflowRenderedIconManifestEntrySchema, tileflowRoadClasses, tileflowSemanticDiffSchemaVersion, tileflowWorldReleaseIdMaximumLength, tileflowWorldReleaseIdMinimumLength, tileflowWorldReleaseIdPattern, tileflowWorldReleaseIdPatternSource, tileflowWorldReleaseIdSchema, withRenderStack };