import { MaybeRef } from 'vue'; import { DateValue } from '../components/OnyxDatePicker/types.js'; export type UseRelativeTimeFormatOptions = { /** * Time/date to format. */ time: MaybeRef; /** * Options to use for the formatter. */ options?: MaybeRef; }; /** * Reactive wrapper/utilities around the `Intl.RelativeTimeFormat` API. */ export declare const useRelativeTimeFormat: (options: UseRelativeTimeFormatOptions) => { /** * Formatted relative time string. * * @example "42 minutes ago" */ timeAgo: import('vue').ComputedRef; };