export declare enum TimeScale { Weeks = "w", Days = "d", Hours = "h", Minutes = "m", Seconds = "s", Milliseconds = "ms", Microseconds = "us", Nanoseconds = "ns" } /** * Scales up the given time with the given starting scale to the scale value that should * not be scaled up any further. * * @param time A time duration value * @param startingScale The unit in which the given duration is expressed * @param decimalPlaces The number of decimal places desired for the resulting value */ export declare function scaleTime(time: number, startingScale?: TimeScale, // eslint-disable-line default-param-last decimalPlaces?: number): { value: number | string; scale: string; };