/** * Formats a millisecond count as the largest exact unit it divides evenly * into. Intended for rendering *configured* durations, e.g. `formatDurationMs(3_600_000)` -> `"1h"`. */ export declare function formatDurationMs(milliseconds: number): string; /** * Formats how long ago `date` was relative to `now`, in a single coarse * bucket. Example: `formatTimeAgo(fiveMinutesAgo, now)` -> `"5m ago"`. */ export declare function formatTimeAgo(date: Date, now: Date): string; /** * Formats how long until `date` relative to `now`, in a single coarse * bucket. Example: `formatTimeUntil(inFiveMinutes, now)` -> `"in 5m"`. */ export declare function formatTimeUntil(date: Date, now: Date): string; /** * Formats a `Date` as zero-padded 24h local clock time. Example: * `formatClockTime(new Date(2024, 0, 1, 9, 5))` -> `"09:05"`. */ export declare function formatClockTime(date: Date): string; //# sourceMappingURL=status-format.d.ts.map