/** * Time Formatter - Human-Readable Time Formatting * * Converts Unix timestamps to human-readable relative time format * Examples: "2d ago", "3h ago", "just now" * * Used by list_decisions and recall_decision tools * * @module time-formatter */ /** * Format Unix timestamp (milliseconds) to human-readable relative time * * AC #2: Format created_at as human-readable ("2d ago", "3h ago", etc.) * * @param timestamp - Unix timestamp in milliseconds OR ISO 8601 string * @returns Human-readable time string * * @example * formatTimeAgo(Date.now() - 3600000) // "1h ago" * formatTimeAgo(Date.now() - 172800000) // "2d ago" * formatTimeAgo("2025-11-20T10:30:00Z") // "2d ago" (if today is 2025-11-22) */ export declare function formatTimeAgo(timestamp: number | string | null | undefined): string; //# sourceMappingURL=time-formatter.d.ts.map