import { type DatePartsState, type MonthYearState } from '~/src/server/plugins/engine/components/types.js';
/**
 * This function is just a wrapper for startOfToday() but, since it's in a separate file, allows
 * the function to be easily mocked for unit testing.
 * @returns {Date}
 */
export declare function todayAsDateOnly(): Date;
/**
 * Wrapper for date-fns parse() method to ensure the year is 4-digits. It seems parse() allows a non-4-digit year
 * despite the format mask enforcing it.
 */
export declare function parseStrictDate(dateObj: DatePartsState | MonthYearState, dateStr: string, formatStr: string, referenceDate: Date): number | Date;
