export type DateInput = Date | string | number | null | undefined; export type FormatDateOptions = { /** true adds HH:mm, 'seconds' adds HH:mm:ss (24h). */ time?: boolean | 'seconds'; /** Format in UTC instead of the browser's time zone; adds ' UTC' after a time. Same output on server and client. */ utc?: boolean; /** Shown for null, undefined, '' and invalid dates. Default '-'. */ fallback?: string; }; /** * The platform date format: DD MMM YYYY, optionally with time. * * formatDate('2026-10-05T14:03:09Z') // 05 Oct 2026 * formatDate(date, { time: true }) // 05 Oct 2026 - 16:03 * formatDate(date, { time: 'seconds', utc: true }) // 05 Oct 2026 - 14:03:09 UTC */ export declare const formatDate: (value: DateInput, options?: FormatDateOptions) => string; /** 05 Oct 2026 - 31 Oct 2026. A missing side shows the fallback; both missing returns the fallback once. */ export declare const formatDateRange: (start: DateInput, end: DateInput, options?: FormatDateOptions) => string;