import {StyleLayer} from '../style_layer'; import properties, {type RasterPaintPropsPossiblyEvaluated} from './raster_style_layer_properties.g'; import {type Transitionable, type Transitioning, type PossiblyEvaluated} from '../properties'; import type {RasterPaintProps} from './raster_style_layer_properties.g'; import type {LayerSpecification} from '@maplibre/maplibre-gl-style-spec'; export const isRasterStyleLayer = (layer: StyleLayer): layer is RasterStyleLayer => layer.type === 'raster'; export class RasterStyleLayer extends StyleLayer { _transitionablePaint: Transitionable; _transitioningPaint: Transitioning; paint: PossiblyEvaluated; constructor(layer: LayerSpecification, globalState: Record) { super(layer, properties, globalState); } }