import { ColorRamp } from '../../core/ColorRamp'; /** * Type as returned by the `.pickAt()` method */ type PrecipitationPickAt = { /** * Amount of precipitation in mm/h */ value: number; /** * Amount of precipitation in in/h */ valueImperial: number; }; type PrecipitationLayerOptions = { /** * ID of the layer */ id?: string; /** * Opacity of the layer in [0, 1] */ opacity?: number; /** * Colormap to use */ colorramp?: ColorRamp; /** * Whether or not the colorramp must be smooth */ smooth?: boolean; }; export type { PrecipitationLayerOptions, PrecipitationPickAt };