import type * as React from "react"; export type Unit = "second" | "minute" | "hour" | "day" | "week" | "month" | "year"; export type Suffix = "ago" | "from now"; export type Formatter = (value: number, unit: Unit, suffix: Suffix, epochMilliseconds: number, nextFormatter: () => React.ReactNode, now: () => number) => React.ReactNode; export type Props = Readonly<{ live?: boolean; minPeriod?: number; maxPeriod?: number; component?: string | React.ComponentType; title?: string; formatter?: Formatter; date: string | number | Date; now?: () => number; }>; export declare function TimeAgo({ date, formatter, component, live, minPeriod, maxPeriod, title, now, ...passDownProps }: Props): null | React.ReactElement; //# sourceMappingURL=time-ago.d.ts.map