import type { Style } from '@opengeoweb/webmap'; import type { STACColormapEntry, STACRenderEntry } from '../api'; /** * Converts a STAC render extension colormap to an OpenLayers WebGLTile palette style. * * The STAC colormap maps pixel values (0–255) to RGBA arrays where each channel is 0–255. * The returned object is suitable for use as the `style` option of `ol/layer/WebGLTile`. */ export declare const stacColormapToOlStyle: (colormap: Record) => object; /** * Returns a grayscale WebGLTile style where band-1 value maps from black (0) * to white (255). Used as a safe default when no STAC render colormap exists. */ export declare const stacGrayscaleOlStyle: () => object; /** * Returns a grayscale style for normalized GeoTIFF samples where `['band', 1]` * is expected in [0, 1]. This avoids white-only output when raw data range is * not strictly 0-255. */ export declare const stacNormalizedGrayscaleOlStyle: () => object; /** * Converts a STAC render extension `renders` map to an array of `Style` objects * compatible with the Layer Manager style selector. */ export declare const getRendersAsStyles: (renders: Record) => Style[];