import { type VariantProps } from "class-variance-authority"; import { dateTimeVariants } from "./variants.js"; export * from "./variants.js"; type DateTimeProps = VariantProps & { /** * ISO date string ("2026-04-04"), ISO datetime ("2026-04-04T14:30:00"), * or for date-range two ISO dates joined by "/" ("2026-04-01/2026-04-30"). */ value: string; }; /** Formats an ISO date as the `date` variant renders it — "Apr 4, 2026". */ export declare function fmtDate(iso: string): string; /** * Formats two ISO dates as the `date-range` variant renders them — collapses * a shared month ("Apr 1 – 30, 2026") or year ("Apr 1 – May 15, 2026"). */ export declare function fmtDateRange(startIso: string, endIso: string): string; /** * Consistent date and time display control. * * Replaces ad-hoc `.toLocaleDateString()` calls. * Renders as a semantic `