import { type HTMLAttributes } from 'react';
import { type VariantProps } from 'class-variance-authority';
export type SmartDateState = 'overdue' | 'past' | 'today' | 'tomorrow' | 'soon' | 'upcoming';
declare const smartDateVariants: (props?: ({
state?: "today" | "past" | "upcoming" | "tomorrow" | "overdue" | "soon" | null | undefined;
size?: "sm" | "md" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export interface SmartDateProps extends Omit, 'children'>, Pick, 'size'> {
/** The date to display — ISO-8601 string, ms-since-epoch, or a `Date`. */
date: string | number | Date;
/**
* Reference "now" — defaults to the current date. Pin it in stories / tests
* (and anywhere deterministic output is required) so the bucketing is stable.
*/
now?: string | number | Date;
/**
* Treat the date as a deadline: past dates read "Overdue" (destructive)
* instead of a neutral elapsed phrase ("Yesterday" / "5 days ago").
*/
deadline?: boolean;
/**
* Near-future window, in whole days, within which an upcoming date shows a
* relative phrase ("In 3 days") alongside the date. Beyond it, just the date.
* Default `7`.
*/
soonWithinDays?: number;
/** Locale override. Falls back to the active i18next language. */
locale?: string;
}
export declare const SmartDate: import("react").ForwardRefExoticComponent>;
export {};
//# sourceMappingURL=smart-date.d.ts.map