export interface TimeFormatOptions { includeTZ?: boolean; tz?: string; short?: boolean; format?: 'default' | 'short' | 'full'; } /** *Formats a timestamp according to the specified options * * @param ts - timestamp as number or Date * @param options - formatting options * @param options.format - format of the timestamp representing the granularity * 'MMM dd, yyyy hh:mm a' (default) * Possible values: * - short: 'MMM dd, yyyy' * - default: 'MMM dd, yyyy hh:mm a' * - full: 'MMM dd, yyyy hh:mm:ss.SSS a' * @param options.includeTZ: whether to include the timezone abbreviation in the formatted string * @param options.tz: timezone to use for formatting (defaults to system timezone) * @returns Formatted timestamp string */ export declare function formatTimestamp(ts: number | Date, options?: TimeFormatOptions): string; /** * @deprecated use `formatTimestamp` instead */ export declare function formatTime(ts: number | string, options?: TimeFormatOptions): string | number; /** * Formatted display for a start and end time range * @param start Date from * @param end Date to * @returns Human-readable date range string */ export declare function formatTimeRange(start: Date, end: Date): string; //# sourceMappingURL=format.d.ts.map