
import { TFunction } from "i18next";

//#region src/components/overlays/Notifications/format-relative-time.d.ts
/**
 * Lightweight relative time formatter.
 *
 * Output format (English source; localized via the `uikit` bundle's
 * `relativeTime.*` keys):
 * - `just now` (< 1 minute)
 * - `N min ago` (1–59 minutes)
 * - `N h ago` (1–23 hours)
 * - `N d ago` (1–6 days)
 * - `N w ago` (1–4 weeks)
 * - `N mo ago` (1–11 months)
 * - `N y ago` (1+ years)
 *
 * `t` is the UI Kit translation function (from `useI18n`), passed
 * in so the string reacts to the active language. When omitted (non-component
 * callers), English defaults are used.
 */
declare function formatRelativeTime(timestamp: number, t?: TFunction): string;
//#endregion
export { formatRelativeTime };
//# sourceMappingURL=format-relative-time.d.ts.map