import type { Feature, View } from 'ol'; import type { TimeSliderStartEndStep } from '@opengeoweb/store'; import type { Dimension, RefTimeDimensionModes } from '@opengeoweb/webmap'; import type { MapLocation, OnInitializeLayerProps, TimeContextType, UpdateLayerInfoPayload } from '@opengeoweb/webmap-react'; export declare const makePrefetchTimeSpan: (timeSliderStartCenterEndTime: TimeSliderStartEndStep, isAnimating: boolean, prefetchList: number[]) => TimeContextType; export declare const usePrefetchTimeSpan: (timeSliderStartCenterEndTime: TimeSliderStartEndStep, isAnimating: boolean, animationList: number[], refTimeDimensionModes?: RefTimeDimensionModes) => TimeContextType; export declare const makeLayerInfoPayload: (payload: OnInitializeLayerProps, mapDimensions: Dimension[], mapId: string) => UpdateLayerInfoPayload; export declare const getCenterOfLinkedFeature: (feature: Feature | undefined, srs: string) => MapLocation | null; interface UseFitAndHighlightWarningFeatureOptions { view: View | undefined; warningDialogFeatures?: { id: string; originalId?: string; geoJSON: GeoJSON.FeatureCollection; }[]; srs: string | undefined; mapId: string; } export declare function useFitAndHighlightWarningFeature({ view, warningDialogFeatures, srs, mapId, }: UseFitAndHighlightWarningFeatureOptions): void; /** Compare value with current time and if difference is more than factor times timeStep returns true */ export declare const getIsOutdated: (compareValue: string, timeStep: number, factor: number) => boolean; export {};