/** * Takes a duration in milliseconds and returns a string describing the duration in terms of * years, months, days, hours, minutes, seconds and milliseconds. * If a unit isn't needed it's omitted, e.g. durations less than a year won't include '0 years'. * @public * @param {number} ms - The duration in milliseconds. * @returns {String} A formatted duration string, for example `27 days 16 hours 36 minutes 59 seconds`. * Durations <= 0 return `null`. */ export declare const formatDuration: (ms: number) => string | null; //# sourceMappingURL=formatDuration.d.ts.map