import { type MaybeRefOrGetter } from './_shared'; import type { Ref } from '@stacksjs/stx'; /** * Reactive relative time string. * Converts a date into a human-readable relative time string * (e.g., "3 minutes ago", "in 2 hours", "just now"). * Supports both past and future dates. * * @param date - The target date (Date, number, or string, or a ref/getter of one) * @param options - Configuration options * @returns Ref with the formatted time ago string */ export declare function useTimeAgo(date: MaybeRefOrGetter, options?: UseTimeAgoOptions): Ref; declare interface UseTimeAgoOptions { updateInterval?: number }