import { type Locale } from 'date-fns'; /** Languages the street-imagery packages ship texts and date formats for. */ export declare const STREET_IMAGERY_LOCALES: readonly ['en', 'de']; export type StreetImageryLocale = (typeof STREET_IMAGERY_LOCALES)[number]; export declare const DEFAULT_STREET_IMAGERY_LOCALE: StreetImageryLocale; export declare const dateFnsLocale: (locale: StreetImageryLocale) => Locale; /** The locale's default date: "Aug 2, 2026" / "02.08.2026". */ export declare const formatDate: (timestamp: number | Date, locale: StreetImageryLocale) => string; /** Month and year: "Aug 2026". */ export declare const formatMonth: (timestamp: number | Date, locale: StreetImageryLocale) => string; /** "2 months ago" / "vor 2 Monaten". */ export declare const formatRelativeDate: (timestamp: number | Date, locale: StreetImageryLocale, now?: number | Date) => string; /** * Date and time as the camera's clock showed it, with the UTC offset: "Mar 8, 2025, 3:40 PM * (+01:00)". Takes an ISO time with offset (`2025-03-08T15:40:35+01:00`); `null` when it has none. */ export declare const formatLocalDateTime: (isoWithOffset: string, locale: StreetImageryLocale) => string | null; /** Two lines for a tooltip: the full date, and how long ago that is. */ export declare const formatDateTooltip: (timestamp: number | Date, locale: StreetImageryLocale, now?: number | Date) => string; /** Readable name of a Mapillary value: `regulatory--no-stopping--g1` → "Regulatory · No stopping". */ export declare const humanizeMapillaryValue: (value: string) => string; /** * Name of a Mapillary value in the locale. German has a curated list (signs found in Germany, * all objects and markings); other values get the German category and Mapillary's English name: * "Gefahrzeichen · Koala crossing". */ export declare const mapillaryValueName: (value: string, locale: StreetImageryLocale) => string;