export type DateKey = string; export type WeekStartsOn = 0 | 1; export type CalendarDateInput = Date | string | null | undefined; export type CalendarLocale = string | string[]; export type CalendarMonth = Date; declare function toDateKey(date: Date): DateKey; declare function parseDateKey(value?: string | null): Date | null; declare function startOfMonth(date: Date): Date; declare function addMonths(date: Date, amount: number): Date; declare function isSameMonth(left: Date, right: Date): boolean; declare function isBeforeDate(left: DateKey, right?: DateKey | null): boolean; declare function isAfterDate(left: DateKey, right?: DateKey | null): boolean; declare function isWithinRange(date: DateKey, from?: DateKey | null, to?: DateKey | null): boolean; declare function getMonthLabel(date: Date, locale?: CalendarLocale): string; declare function getWeekdayLabels(locale?: CalendarLocale, weekStartsOn?: WeekStartsOn): string[]; declare function getMonthDays(month: Date, weekStartsOn?: WeekStartsOn): CalendarMonth[]; export { addMonths, getMonthDays, getMonthLabel, getWeekdayLabels, isAfterDate, isBeforeDate, isSameMonth, isWithinRange, parseDateKey, startOfMonth, toDateKey, };