export type Unit = 'second' | 'minute' | 'hour' | 'day' | 'week'; export declare function selectUnit(from: Date | number, to?: Date | number, thresholds?: Partial): { value: number; unit: Unit; }; type Thresholds = Record<'second' | 'minute' | 'hour' | 'day', number>; export declare const DEFAULT_THRESHOLDS: Thresholds; export {};