/** * Utility functions for formatting various data types */ /** * Format uptime duration in HH:MM:SS format * @param startTime - The start timestamp in milliseconds * @param status - The server status (only 'online' will show actual uptime) * @returns Formatted uptime string in HH:MM:SS format */ export declare function formatUptime(startTime?: number, status?: string): string; /** * Format duration in human-readable format (d/h/m/s) * @param milliseconds - Duration in milliseconds * @returns Formatted duration string (e.g., "2d 3h 45m", "1h 30m", "45m", "30s") */ export declare function formatDuration(milliseconds: number): string; /** * Get executable name from command path * @param cmd - The command path or name * @returns The executable name (last part of path) */ export declare function getExecutableName(cmd?: string): string; //# sourceMappingURL=format-utils.d.ts.map