export type DateInputValidityState = { patternMismatch: boolean; valueMissing: boolean; invalidReason?: string; };