import type { FeatureLike } from 'ol/Feature'; import { Circle, Style } from 'ol/style'; import type { ColorMap } from './colormaps'; export interface EdrMapLegendEntry { min: number; max: number; color: string; image: Circle; } export interface EdrOlColorLegend { legend: EdrMapLegendEntry[]; } export declare const makeLegendFromStyleName: (styleName: string) => EdrOlColorLegend | null; export declare const makeLegendFromColorMap: (props: { colors: ColorMap; min: number; max: number; }) => EdrOlColorLegend; export declare const generateImageFromLegend: (edrColorLegend: EdrOlColorLegend, ctx: CanvasRenderingContext2D, opacity?: number) => number; export declare const getLegendClass: (edrColorLegend: EdrOlColorLegend, value: number, clip?: boolean) => EdrMapLegendEntry | undefined; export declare const makeFeatureStyleWind: (feature: FeatureLike) => Style[]; export declare const makeFeatureStyleMultiParam: (feature: FeatureLike) => Style[]; export declare const makeFeatureStyleMultiParamLoading: () => Style; export declare const makeFeatureStyleDisc: (feature: FeatureLike, legend: EdrOlColorLegend) => Style; export declare const makeFeatureStyleLoading: (feature: FeatureLike) => Style; export declare const styleNameToStyleLike: ((styleName: string, multiParam?: boolean) => ((feature: FeatureLike) => Style | Style[])) & import("lodash").MemoizedFunction; export declare const defaultEdrStyles: { name: string; title: string; abstract: string; legendURL: string; }[];