import type { Extent } from 'ol/extent'; import ImageWrapper from 'ol/Image'; import type { Projection } from 'ol/proj'; import type { WMImage } from '@opengeoweb/webmap'; import { WMImageStore } from '@opengeoweb/webmap'; export declare const openLayersGetMapImageStore: WMImageStore; export declare const clearImageCacheForAllMaps: () => void; interface TimeAwareGeoreferencedImageSrc { src: string; extent: Extent; resolution: number; } interface TimeAwareGeoreferencedImage { el: HTMLImageElement; extent: Extent; resolution: number; isLoaded: boolean; hasError: boolean; isLoadedWithoutErrors: boolean; isLoading: boolean; } declare class TimeAwareImageWrapper extends ImageWrapper { private _extentToLoad; private _resolutionToLoad; private _pixelRatioToLoad; private _paramsToLoad; private _dimPropsToLoad; private _getMapUrl; private projection; private _resolvers; private _styleName; private _layerName; constructor(extent: Extent, resolution: number, pixelRatio: number); getWMSGetMapRequestURL(extentToLoad: Extent, resolutionToLoad: number, __pixelRatio: number, projection: Projection | null, getMapUrl: string | null, params: Record, layerName: string | null, styleName: string, dimProps: Record): TimeAwareGeoreferencedImageSrc; getAlternativeImage(extent: Extent, resolution: number, pixelRatio: number, projection: Projection, getMapUrl: string, params: Record, layerName: string, styleName: string, dimsProps: Record): TimeAwareGeoreferencedImage | false; hasImage(extent: Extent, resolution: number, pixelRatio: number, projection: Projection, getMapUrl: string, params: Record, layerName: string, styleName: string, dimsProps: Record): TimeAwareGeoreferencedImage | false; setGeoReferencedImage(image: TimeAwareGeoreferencedImage): void; load(): void; setState(state: number): void; private _rejectAll; private _resolveAll; loadAndResolve(extentToLoad: Extent, resolutionToLoad: number, pixelRatio: number, projection: Projection, getMapUrl: string, params: Record, layerName: string, styleName: string, dimProps: Record): Promise; } export default TimeAwareImageWrapper;