/** * Constructs an ISO-like date string from year, month, and day components. * * @remarks * The month is 0-indexed in the input but 1-indexed in the output string. * If a component is null, it may result in "null" in the string (e.g., "2024-null-01"), * which is handled by `getValues`. * * @param year - The year. * @param month - The month (0-indexed). * @param day - The day of the month. * @returns A string representation of the date (e.g., "2024-01-01"). */ export declare function getCurrentValue(year: number | null, month: number | null, day: number | null): string; /** * Parses a date string back into year, month, and day components. * * @param value - The date string to parse (e.g., "2024-01-01"). * @returns An array containing `[year, month, day]`. Month is returned as 1-indexed (based on implementation of DateInput logic, wait, let me check DateInput logic). * * Re-reading DateInput logic: * `let [currentYear, currentMonth, currentDay] = useMemo(() => { ... return getValues(value); ... }, [value]);` * `let MONTH = value ? (currentMonth ? currentMonth - 1 : null) : state.month;` * * It seems `getValues` returns the raw numbers from the string. * If the string is "2024-01-01", `getValues` returns `[2024, 1, 1]`. * In `DateInput`, `MONTH` logic subtracts 1, so `currentMonth` is expected to be 1-indexed. * * So `getValues` returns `[year, month (1-indexed), day]`. */ export declare function getValues(value: string): Array;