import type { DateFormat } from "../dateMask"; /** Format a Date to display string per locale (US: MM/DD/YYYY, DE: DD.MM.YYYY, RoW: DD/MM/YYYY). */ export declare const formatDate: (date: Date, format: DateFormat) => string; /** Parse a display string (with separators) or unmasked digits to Date. Returns null if invalid. */ export declare const parseDate: (value: string, format: DateFormat) => Date | null; /** Month names for the calendar dropdown. Derives from format: DE → German, US/RoW → English. Add format in FORMAT_LOCALE for new locales (e.g. ES). */ export declare const getMonthNames: (format: DateFormat) => string[]; /** Years from min to max (inclusive). */ export declare const getYears: (minYear: number, maxYear: number) => number[]; /** Number of days in the given month (1–31). Month is 1–12. */ export declare const getDaysInMonth: (year: number, month: number) => number; /** First weekday of the month (0 = Sunday, 6 = Saturday). Month is 1–12. */ export declare const getFirstDayOfMonth: (year: number, month: number) => number; /** Weekday labels for the calendar header. DE → Monday first (German), US/RoW → Sunday first (English). Add format in FORMAT_LOCALE for new locales. */ export declare const getWeekdayLabels: (format: DateFormat) => readonly string[]; /** Placeholder chars for the date mask (day, month, year). */ export declare const getPlaceholderChars: (format: DateFormat) => { dayPlaceholderChar: string; monthPlaceholderChar: string; yearPlaceholderChar: string; }; /** Default min year when mask blocks do not specify. Used for calendar year range. */ export declare const DEFAULT_MIN_YEAR = 1900; /** Default max year when mask blocks do not specify. Used for calendar year range. */ export declare const DEFAULT_MAX_YEAR = 2100; /** Whether two dates are the same calendar day. */ export declare const isSameDay: (a: Date, b: Date) => boolean;