/** * Age colors of imagery relative to a cutoff date (from the iD Radnetz fork, feature 18). * Older than the cutoff = `outdated`. The time from the cutoff to now is split into three equal * parts: `old`, `mid`, `new`. The bands follow the cutoff, so they fit any "from" filter. */ export type AgeBand = 'outdated' | 'old' | 'mid' | 'new'; export declare const AGE_BANDS: AgeBand[]; /** Default colors: red, orange, yellow, green. */ export declare const AGE_BAND_COLORS: Record; /** Band of a capture time (ms); photos without a date count as outdated. */ export declare const ageBand: (capturedAt: number | null | undefined, cutoff: number, now: number) => AgeBand; /** Start (ms) of each non-outdated band, for legends. */ export declare const ageBandStarts: (cutoff: number, now: number) => Record, number>; /** * MapLibre `step` expression for a color by the feature's `capturedAt` property (ms), e.g. for * `circle-color`. Typed loosely so the core package needs no MapLibre types. */ export declare const ageBandColorExpression: (cutoff: number, now: number, colors?: Record, property?: string) => unknown[];