/**
 * @file dateParser.ts
 * @input Uses Intl.DateTimeFormat for locale detection
 * @output Exports date parsing utilities for user input
 * @position Core utility; used by DateInput, DateTimeInput
 *
 * SYNC: When modified, update:
 * - /packages/core/src/utils/dateParser.test.ts
 * - /packages/core/src/utils/index.ts
 */
import { type PlainDate } from './plainDate';
import type { Locale } from '../i18n/types';
export { plainDateFromISO as parseISO, plainDateToISO as dateToISO, } from './plainDate';
/**
 * Detects if the locale uses day-first date format (DD/MM/YYYY).
 * US and a few others use month-first (MM/DD/YYYY).
 */
export declare function isLocaleDayFirst(locale?: Locale): boolean;
/**
 * Parses user input into a PlainDate.
 *
 * Supports:
 * - ISO format: "2026-01-25"
 * - Full month names: "January 25, 2026", "25 January 2026"
 * - Full month names without year: "January 25", "25 January" (defaults to current year)
 * - Numeric formats: "1/25/2026", "25/1/2026" (locale-aware with heuristics)
 * - Numeric formats without year: "1/25", "25/1" (defaults to current year)
 *
 * For ambiguous numeric formats (both numbers ≤ 12), uses locale preference.
 *
 * @returns PlainDate if valid, null if unparseable
 */
export declare function parseDateInput(input: string, locale?: Locale): PlainDate | null;
//# sourceMappingURL=dateParser.d.ts.map