import { type JSX } from 'react';
type DateValue = string | {
    toString: () => string;
};
export type RelativeTimeTextProps = {
    value: DateValue | null | undefined;
    fallback?: string;
    locale?: string;
    className?: string;
    titleMode?: 'absolute' | 'none';
};
type RelativeUnit = Intl.RelativeTimeFormatUnit;
export declare const RelativeTimeText: ({ className, fallback, locale, titleMode, value, }: RelativeTimeTextProps) => JSX.Element;
export default RelativeTimeText;
export declare const __test: {
    readonly resolveRelativeParts: (diffInMs: number) => {
        value: number;
        unit: RelativeUnit;
    };
    readonly formatAbsoluteTitle: (date: Date, locale?: string) => string | undefined;
};
//# sourceMappingURL=RelativeTimeText.d.ts.map