import type { LngLat } from '../viewpoints/geometry'; type GraphPoint = { coordinates: [number, number]; }; type GraphImage = { id: string; captured_at?: number | string; is_pano?: boolean; compass_angle?: number; computed_compass_angle?: number; creator?: { id?: string; username?: string; }; geometry?: GraphPoint; computed_geometry?: GraphPoint; sequence?: string; }; export type MapillaryImageDetails = { id: string; /** Capture time in ms. */ capturedAt: number | null; isPano: boolean; /** Mapillary's computed position (map features are located from it); falls back to GPS. */ lngLat: LngLat | null; /** The camera's GPS position. Computed matches detections better but is sometimes far off. */ originalLngLat: LngLat | null; heading: number | null; username: string | null; creatorId: string | null; sequenceId: string | null; }; export declare const normalizeMapillaryImageDetails: (image: GraphImage) => MapillaryImageDetails; /** Details of many images in batches of 50 (`?ids=`); unknown ids are left out. */ export declare const fetchMapillaryImages: (ids: string[], signal?: AbortSignal) => Promise; /** "3 months ago" in the given locale. */ export declare const formatRelativeAge: (capturedAt: number, now: number, locale?: string) => string; export {};