ConstReads ALL layer declarations of the active profile, in profile order.
🛑 Does NOT use getAllLayerConfigs(), and that is measured. The neighbouring
barrel does expose that accessor, but kernel/geojson/loader/profile.ts fills it
with a whitelist projection — id, label, layerManagerId, configFile, zIndex, themes, geometry, geometryType, styles, labels, showInLayerManager. Neither edition, nor
offline, nor data, nor write. A permission reader going through it would
see edition === undefined for every layer and refuse everything, silently.
⚠️ And it is NOT Config.Profile.getActiveProfileLayersConfig(): the
Profile sub-object is not mounted on globalThis.GeoLeaf.Config, and the call
throws. Measured in a browser, after a green unit test that mocked the hoped-for
shape.
The layer declarations, or [] when no profile is loaded.
Engine alias of profileLayers — reads ALL declared layers of the active profile.
⚠️ Same sources, same traps and same no-duplication note as coreProfileLayerConfig: the substantive documentation is in
kernel/shared/edition-permissions.ts.