import {StyleLayer} from '../style_layer'; import properties, {type BackgroundPaintPropsPossiblyEvaluated} from './background_style_layer_properties.g'; import {type Transitionable, type Transitioning, type PossiblyEvaluated} from '../properties'; import type {BackgroundPaintProps} from './background_style_layer_properties.g'; import type {LayerSpecification} from '@maplibre/maplibre-gl-style-spec'; export const isBackgroundStyleLayer = (layer: StyleLayer): layer is BackgroundStyleLayer => layer.type === 'background'; export class BackgroundStyleLayer extends StyleLayer { _transitionablePaint: Transitionable; _transitioningPaint: Transitioning; paint: PossiblyEvaluated; constructor(layer: LayerSpecification, globalState: Record) { super(layer, properties, globalState); } }