UNPKG

333 BTypeScriptView Raw
1import { RelativeTimeFormatInternal } from '@formatjs/ecma402-abstract';
2export declare function FormatRelativeTimeToParts(rtf: Intl.RelativeTimeFormat, value: number, unit: Intl.RelativeTimeFormatUnit, implDetails: {
3 getInternalSlots(rtf: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
4}): Intl.RelativeTimeFormatPart[];