UNPKG

claude-monitor

Version:

Real-time terminal monitoring tool for Claude AI token usage

10 lines 746 B
export declare function formatDate(date: Date | string, formatStr: string, timezone?: string): string; export declare function formatTime(date: Date, timeFormat: '12' | '24', timezone?: string): string; export declare function formatDuration(seconds: number): string; export declare function formatRelativeTime(date: Date | string): string; export declare function getCurrentTime(timezone?: string): Date; export declare function isWithinHours(date: Date | string, hours: number): boolean; export declare function getSessionWindowStart(now?: Date): Date; export declare function inSameSessionWindow(date1: Date, date2: Date): boolean; export declare function getSessionTimeRemaining(sessionStart: Date): number; //# sourceMappingURL=time.d.ts.map