/** * Format a numeric value to a price matching given locale format with expected currency. * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat Intl.NumberFormat} * @param value * The numeric value to format. * @param locale * The locale to use. * @param currency * The currency expected. */ declare function formatPrice(value: number, locale?: string, currency?: string): string; /** * Format a date to a human readable relative time (like 'a month ago'). * @see {@link https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat Intl.RelativeTimeFormatOptions} * @param date * The date to format. * @param locale * The locale to use. * @param option * Language-sensitive formatting options. */ declare function formatRelativeTime(date: Date, locale?: string, option?: Intl.RelativeTimeFormatOptions): string; export { formatPrice, formatRelativeTime, };