/** * Simplifies time amount converting large numeric values to small with larger unit, so it is easier to read * @param amount amount of time * @param unit time unit * @returns simplified time amount */ export declare function simplifyTimeAmount(amount: number, unit: 'ms' | 's' | 'm'): TimeAmount; /** Time amount */ export type TimeAmount = { /** Amount */ amount: number; /** Time unit */ unit: 'ms' | 's' | 'm'; /** Time amount text description */ description: string; };