export type FormatRelativeTimeOptions = { /** BCP 47 locale passed to Intl.RelativeTimeFormat. Defaults to "en". */ locale?: string; /** Intl style: "narrow" keeps the compact "5m ago" feel; "long" spells units out. */ style?: Intl.RelativeTimeFormatStyle; }; /** * Format a timestamp relative to now ("5m ago", "in 2 hr", …), localized via * Intl.RelativeTimeFormat; durations of a week or more roll up to * weeks/months/years ("3w ago", "1mo ago"). Handles future timestamps; * returns "" for unparseable input. * * Distinct from `@bota-apps/utils/time`' `formatRelativeTime`, which * is date-fns-based and long-form ("3 hours ago"): this one is the compact * display-layer variant used by `DateTime mode="relative"`. */ export declare function formatRelativeTime(timestamp: string | number | Date, options?: FormatRelativeTimeOptions): string; //# sourceMappingURL=formatRelativeTime.d.ts.map