import type { DSControlledDateTimePickerT } from '../react-desc-prop-types.js'; import type { DSControlledDateTimePickerInternalsT } from '../sharedTypes.js'; export declare const getDateValuesFromDate: (day: Date) => DateValuesT; export declare const getDateStringFromDay: (day: Date) => string; export declare const getMonthStringFromDay: (day: Date) => string; export declare const getTimeStringFromDay: (day: Date) => string; export declare const getMonthNameByMonthNumber: (monthNumber: number) => string; export declare const isSameDateMoment: (dateA: Date, dateB: Date) => boolean; export declare const compareTwoDatesDayEquality: (dayA: Date, dayB: Date) => boolean; export declare const compareTwoDateAreInSameMonth: (dayA: Date, dayB: Date) => boolean; export declare const isSecondDateInPreviousMonth: (dayA: Date, dayB: Date) => boolean; export declare const isSecondDateInNextMonth: (dayA: Date, dayB: Date) => boolean; export declare const getLastDayOfMonth: (month: DSControlledDateTimePickerInternalsT.DateMonth, year: number) => Date; export declare const isValidDayForTheMonth: (month: DSControlledDateTimePickerInternalsT.DateMonth, year: number, day: DSControlledDateTimePickerInternalsT.DateDay) => boolean; export declare const getDayFromDateString: (dateString: string) => Date | null; export declare const isValidDayForTheMonthDateString: (dateString: string) => boolean; export declare const getValidationDateStringMetaInfo: (dateString: string, getIsOutOfRangeDay?: (day: string) => boolean, getIsDisabledDay?: (day: string) => boolean) => Partial; export declare const isLeapYear: (year: number) => boolean; export declare const getHowManyDaysInMonth: (year: number, month: number) => number; export declare const dateIsLeapYear: (date: Date) => boolean; export declare const dateGetDaysInMonth: (date: Date) => number; export declare const dateAddMonths: (date: Date, value: number) => Date; export declare const dateAddYear: (date: Date, value: number) => Date; interface DateValuesT { month: DSControlledDateTimePickerInternalsT.DateMonth; year: number; day?: DSControlledDateTimePickerInternalsT.DateDay; } interface DateSumValuesT { monthsToSum?: number; yearsToSum?: number; daysToSum?: number; } export declare const sumFromDateValues: ({ month, year, day }: DateValuesT, { monthsToSum, yearsToSum, daysToSum }: DateSumValuesT) => DateValuesT; export declare const sumValuesToDate: (day: Date, sumValues: DateSumValuesT) => Date; export declare const subtractYears: (date: Date, howManyMore?: number) => Date; export declare const subtractMonths: (date: Date, howManyMore?: number) => Date; export declare const sumMonths: (date: Date, howManyMore?: number) => Date; export declare const sumYears: (date: Date, howManyMore?: number) => Date; export declare const getDaysInMonth: (month: number, year: number) => Date[]; export declare const getLastXDaysFromPreviousMonth: (month: number, year: number, howMany: number) => Date[]; export declare const getFirstXDaysFromNextMonth: (month: number, year: number, howMany: number) => Date[]; export declare const getSixBySevenCurrentMonthDaysMatrix: (month: number, year: number) => DSControlledDateTimePickerT.MetaMonthDay[]; export {};