import { ImageTile, Map } from 'ol'; import WebGLTileLayer from 'ol/layer/WebGLTile.js'; import type GeoTIFF from 'ol/source/GeoTIFF.js'; import TerraElement from '../../internal/terra-element.js'; import type { CSSResultGroup } from 'lit'; import TerraButton from '../button/button.component.js'; import TerraPlot from '../plot/plot.component.js'; import TerraIcon from '../icon/icon.component.js'; import TerraPlotToolbar from '../plot-toolbar/plot-toolbar.component.js'; import TerraAlert from '../alert/alert.component.js'; import type { Variable } from '../browse-variables/browse-variables.types.js'; import { AuthController } from '../../auth/auth.controller.js'; import TerraLoader from '../loader/loader.component.js'; import type DataTileSource from 'ol/source/DataTile.js'; import type DataTile from 'ol/DataTile.js'; declare const TerraTimeAverageMap_base: typeof TerraElement & import("../../mixins/query-client.mixin.js").Constructor; export default class TerraTimeAverageMap extends TerraTimeAverageMap_base { #private; static styles: CSSResultGroup; static dependencies: { 'terra-button': typeof TerraButton; 'terra-icon': typeof TerraIcon; 'terra-plot-toolbar': typeof TerraPlotToolbar; 'terra-loader': typeof TerraLoader; 'terra-plot': typeof TerraPlot; 'terra-alert': typeof TerraAlert; }; collection?: string; variable?: string; startDate?: string; endDate?: string; location?: string; bearerToken: string; long_name: string; colorMapName: string; opacity: number; /** * the application ID is used for tracking purposes and will be included in the labels of Harmony jobs created by this component */ applicationId?: string; /** * When true, enables IndexedDB caching — data will be read from and written to the local cache. * Defaults to false, meaning no caching is performed. */ cache: boolean; /** * If provided, skips creating a new Harmony job and instead waits for this existing job ID to complete. */ jobId?: string; showHelp: boolean; catalogVariable: Variable; pixelValue: string; pixelCoordinates: string; metadata: { [key: string]: string; }; toggleState: boolean; minimized: boolean; noDataValue: number; min: string; max: string; legendValues: { value: string; rgb: string; }[]; /** * stores error information from time average map requests */ private timeAverageMapError; _authController: AuthController; colormaps: string[]; plotData: {}; layout: {}; harmonyJobId?: string; /** * anytime the collection or variable changes, we'll fetch the variable from the catalog to get all of it's metadata */ _fetchVariableTask: import("@lit/task").Task; handlePropertyChange(): void; handlePlotOptionsChange(): void; connectedCallback(): void; firstUpdated(): Promise; updated(changedProps: globalThis.Map): void; disconnectedCallback(): void; /** * Captures the current map view as a thumbnail Blob (JPEG, 200×200). * Composites all OpenLayers canvas layers without text overlay or legend. * Returns undefined if the map is not ready. */ captureMapThumbnail(thumbWidth?: number, thumbHeight?: number): Promise; updateGeoTIFFLayer(blob: Blob): Promise; intializeMap(): void; addSupportingLayersForGeoTIFF(gtSource: GeoTIFF): Promise; fetchGeotiffMetadata(gtSource: GeoTIFF): Promise<{ [key: string]: string; }>; renderPixelValues(map: Map, gtLayer: WebGLTileLayer): void; getNoDataValue(gtSource: DataTileSource | null): number; getMinMax(gtSource: DataTileSource): Promise<{ min: number; max: number; }>; getColorStops(name: any, min: any, max: any, steps: any, reverse: any): Promise; generatePalette(clrs: any, dv: any, min: any, max: any): void; applyColorToLayer(gtSource: DataTileSource, color: String): Promise; render(): import("lit-html").TemplateResult<1>; } export {};