UNPKG

@kya-os/cli

Version:

CLI for MCP-I setup and management

19 lines 683 B
/** * Time formatting utilities for CLI display */ /** * Format a receipt timestamp for display. * Handles both Unix timestamps (numbers) and ISO 8601 strings gracefully. * * @param ts - Timestamp as either Unix seconds (number) or ISO 8601 string * @returns Formatted ISO 8601 string or original value if unparseable */ export declare function formatReceiptTs(ts: string | number): string; /** * Check if a timestamp is using the deprecated numeric format * * @param ts - Timestamp to check * @returns true if the timestamp is a deprecated numeric format */ export declare function isDeprecatedTimestamp(ts: string | number): boolean; //# sourceMappingURL=time.d.ts.map