/** * Calculate seconds, minutes and hours for a given number of milliseconds. */ export declare const getTimeFragments: (time: number) => { hours: number; minutes: number; seconds: number; }; /** * Formats a given time into a pretty human readable string. * * @param time Time in milliseconds. * @param format RelativeTimeFormat to use for extracting localized strings for hours, minutes and seconds. * @example "04:42 min" */ export declare const formatTime: (timeLeft: number, format: Intl.RelativeTimeFormat) => string; /** * Formats the given time into a duration string that can e.g. be used inside `