import { ParsedDateValuePart } from '../types'; /** * Validates day for the specific month/year. * Adjusts the day value in-place if it exceeds the max days in that month. * * Example: * parsedValues: * [ * { type: 'd', value: '31', separator: ' / ' }, * { type: 'm', value: '02', separator: ' / ' }, * { type: 'y', value: '2025', separator: '' }, * ] * February 2025 has 28 days, so the function updates day to '28': * { type: 'd', value: '28', separator: ' / ' } */ export default function validateDayForMonth(parsedValues: ParsedDateValuePart[]): void;