import { Millisecond, Nanosecond } from '../types'; import { Hrtime } from '../types.internal'; import { TimeUnit } from './TimeUnit'; export declare class TimeTool { static convert(time: number, from: TimeUnit, to: TimeUnit): number; static ms2ns: (ms: Millisecond) => Nanosecond; static hrtime2ns: (hrtime: Hrtime) => Nanosecond; static sleep(ns: Nanosecond): void; } export { TimeTool as Time };