import type { WMJSDimension, Dimension, WMLayer } from '@opengeoweb/webmap'; import type { Timespan } from '../types/Timespan'; /** * * @param wmTimeDim WMDimension time containing dimension values * @param stepsToCheck Array with timestamps as posix timestamps to check * @param isAnimating If the application is running an animation loop * @returns A string list with ISO8601 values to fetch */ export declare const makeDimValuesToPrefetch: (wmTimeDim: WMJSDimension, stepsToCheck: number[], isAnimating: boolean) => string[]; export declare const extendPrefetchListWithModelRunTimeSteps: (wmLayer: WMLayer, stepsToCheck: number[]) => number[]; /** * We use the WMLayer dimension logic to obtain the dimension value to use in the WMS GetMap request. The input is the dimensions array which is typically the properties set for the layer component. * The input time is descretized to the closest value which is available in the WMS layer. * * @param dimensions Array of dimension key/values to use as input * @param wmLayer The layer for which we would like to do the request * @returns A map which returns a key/value to use */ export declare const getDimensionParamsForWMS: (dimensions: Dimension[], wmLayer: WMLayer | null) => Record | undefined; /** * Calculates number of timesteps for given timespan * @param timespan Object of Timespan, with start/stop/end in milliseconds * @returns Timestams array in milliseconds */ export declare const makeTimeList: ((timespan: Timespan) => number[]) & import("lodash").MemoizedFunction;