/** * earth-now.co * Author: Simon-Pierre Boucher * Contact: contact@spboucher.ai * File: packages/counter/src/index.ts * Purpose: Public entrypoint of the shared counter runtime (types, evaluation, windows, formatting) */ export { type CounterModel, type DisplayHints, type Harmonic, type RateFunction, DAY_SECONDS, SEASONAL_EPOCH_MS, WEEK_SECONDS, YEAR_SECONDS, parseIsoUtc, } from "./counter-model.js"; export { counterValue, rateAt } from "./value.js"; export { type CounterWindow, startOfUtcDay, startOfUtcYear, windowValue, } from "./windows.js"; export { type FormatOptions, formatCompact, formatRate, formatUncertainty, formatValue, roundToSigFigs, } from "./format.js"; export { pchipDerivative, pchipEvaluate, pchipSlopes } from "./pchip.js";