/** * The clock's little formatters, shared by the terminal and the markdown * renderings so the two cannot drift — the same reason `formatUsd` lives once. */ /** A gap, in the coarsest unit that keeps one significant figure honest. */ export declare function formatGap(ms: number): string; /** `YYYY-MM-DD`, UTC — the same bucketing the core's spendByDay uses. */ export declare const dayOf: (ms: number) => string; /** The span's length in days, one decimal. */ export declare const spanDays: (fromMs: number, toMs: number) => string; /** * The median of a list, the yardstick a spike cannot inflate. * * A mean would let the most expensive day raise the bar it is measured * against; the median holds still. Returns 0 for an empty list. */ export declare function median(values: readonly number[]): number; //# sourceMappingURL=time.d.ts.map