import type { Locale, RelativeTime } from '../settings/types'; import type { BaseUnit, Duration } from '../typings'; export interface RelativeTimeThreshold { l: Exclude; r: number; d?: BaseUnit; } export declare function fromTo(duration: Duration, loc?: Locale['relativeTime'], withoutSuffix?: boolean): string;