import { Locale } from 'date-fns'; /** Medium date: `MMM d, y` (en-US), `d MMM y` (fr-CA). */ export declare function datePattern(locale?: Locale): string; /** Full date with weekday: `EEEE, MMMM do, y` (en-US), `EEEE d MMMM y` (fr-CA). */ export declare function longDatePattern(locale?: Locale): string; /** Short time: `h:mm a` (en-US), `HH:mm` (fr-CA). */ export declare function timePattern(locale?: Locale): string; /** * Hour only, for the day/week view's time axis. * * There is no CLDR "hour" pattern, so this is derived from the locale's own * time pattern: a 24-hour locale labels the axis `14`, a 12-hour one `02 PM`. * Deriving it rather than hardcoding is what keeps the axis consistent with the * event times printed beside it. */ /** * Whether the locale tells time on a 24-hour clock. * * Exported because the time INPUTS need the same answer the read-only labels * get — a French calendar that prints `14:30` but offers an AM/PM dropdown to * edit it is the same bug wearing a different hat. */ export declare function is24HourLocale(locale?: Locale): boolean; export declare function hourPattern(locale?: Locale): string; /** * Medium date plus short time, composed the way the locale joins them: * `MMM d, y, h:mm a` (en-US), `d MMM y, HH:mm` (fr-CA). */ export declare function dateTimePattern(locale?: Locale): string; /** `Dec 1, 2026` (en-US), `1 déc. 2026` (fr-CA). */ export declare function formatDate(date: Date, locale?: Locale): string; /** `Tuesday, December 1st, 2026` (en-US), `mardi 1 décembre 2026` (fr-CA). */ export declare function formatLongDate(date: Date, locale?: Locale): string; /** `2:30 PM` (en-US), `14:30` (fr-CA). */ export declare function formatTime(date: Date, locale?: Locale): string; /** `02 PM` (en-US), `14` (fr-CA). */ export declare function formatHour(date: Date, locale?: Locale): string; /** `Dec 1, 2026, 2:30 PM` (en-US), `1 déc. 2026, 14:30` (fr-CA). */ export declare function formatDateTime(date: Date, locale?: Locale): string;