import { TimeApproximation, TimeTextBuilder } from "./TimeTextBuilder.js"; import { RR0Context } from "../../RR0Context.js"; export declare class RelativeTimeTextBuilder { protected timeTextBuilder: TimeTextBuilder; constructor(timeTextBuilder: TimeTextBuilder); /** * @param oldContext The time to render relatively to. * @param newContext The time to render. * @param words If a wording like "the day after" may replace the time. * @param approximation The approximation of the time to tell. None by default. */ build(oldContext: RR0Context, newContext: RR0Context, words?: boolean, approximation?: TimeApproximation): string; }