import { UnitGroupConfig, UnitConfig } from './types'; type TimeUnits = 'nanoseconds' | 'microseconds' | 'milliseconds' | 'seconds' | 'minutes' | 'hours' | 'days' | 'weeks' | 'months' | 'years'; export type TimeFormatOptions = { unit?: TimeUnits; decimalPlaces?: number; }; export declare const TIME_GROUP_CONFIG: UnitGroupConfig; export declare const TIME_UNIT_CONFIG: Readonly>; export declare enum PersesTimeToIntlTime { nanoseconds = "nanosecond", microseconds = "microsecond", milliseconds = "millisecond", seconds = "second", minutes = "minute", hours = "hour", days = "day", weeks = "week", months = "month", years = "year" } export declare function formatTime(value: number, { unit, decimalPlaces }: TimeFormatOptions): string; export {}; //# sourceMappingURL=time.d.ts.map