/** * Schedule-specific relative time formatting. * * Distinct from `formatRelativeTime` in ./time-format.ts: * - Handles BOTH past and future timestamps (the canonical helper is past-only) * - Uses 'In Xh' / 'Less than a minute' for future, 'Xh ago' / 'Just now' for past * - Returns 'Never' for null (the schedule daemon's lastCheck can be null) * * The schedule view shows both `lastCheck` (past) and `nextCheck` (future) in * one panel, so it needs the bidirectional variant. * * Lives in utils/ rather than views/ScheduleView.tsx so tests can import the * pure helper without pulling the entire ScheduleView module tree. * * @since v2.11.17 */ /** * Format a Date as a human-readable relative time, handling past + future. * * @param date Target date, or null for 'Never' * @param nowMs Reference timestamp in ms; defaults to Date.now() (override for testability) */ export declare function formatScheduleRelativeTime(date: Date | null, nowMs?: number): string; //# sourceMappingURL=schedule-time.d.ts.map