import type { DatePartType, IntlLocale } from './types'; /** * Uses `formatToParts()` on a fixed reference date to discover the locale's * year/month/day field order (e.g. MDY for en-US, DMY for en-GB, YMD for ja-JP). */ export declare function getDatePartOrder(locale: IntlLocale): DatePartType[]; /** Literal separators between numeric date parts for the locale (e.g. `['/']` for en-US). */ export declare function getDateSeparators(locale: IntlLocale): string[]; /** * Parses a user-typed date string according to locale conventions. * * Accepts ISO `YYYY-MM-DD`, masked numeric input (`08/21/2002`), locale-ordered * numeric input (`9/3/2026`), and text month names (`Aug 21, 2002`). */ export declare function parseLocaleDateString(input: string | null | undefined, locale: IntlLocale): Date | null;