import { Duration, Locale, EachDayOfIntervalResult } from 'date-fns'; import { DateTimeSetter, DateValue, Highlight, HighlightFn, IFormat, MaybeDate, PossibleDate, TimeModel, TimeObj, TimeType } from '../interfaces'; export declare const parseFreeInput: (value: string, pattern: string | string[] | ((value: string) => Date | null), time: TimeModel | TimeModel[], inputVal?: string, onPaste?: boolean, locale?: Locale) => Date | null; export declare const getDate: (value?: PossibleDate) => Date; export declare const dateToUtc: (date: Date, preserve: boolean, enableSeconds: boolean) => string; export declare const resetDateTime: (value: Date | string) => Date; export declare const setDateTime: (date: Date | null, hours?: DateTimeSetter, minutes?: DateTimeSetter, seconds?: DateTimeSetter) => Date; export declare const isDateBefore: (date: DateValue, dateToCompare: DateValue) => boolean; export declare const isDateEqual: (date: DateValue, dateToCompare: DateValue) => boolean; export declare const isDateAfter: (date: DateValue, dateToCompare: DateValue) => boolean; export declare const isDateBetween: (range: Date[], hoverDate: Date | null, dateToCheck: Date) => boolean; export declare const resetDate: (date: Date | string) => Date; export declare const sanitizeTime: (time: TimeModel, type?: TimeType, value?: number) => Duration; export declare const getTimeObj: (date: Date) => TimeObj; export declare const getMinMonth: (year: number, minDate?: PossibleDate) => number | undefined; export declare const getMaxMonth: (year: number, maxDate?: PossibleDate) => number | undefined; export declare const getMinMaxYear: (minMaxDate: PossibleDate) => number | undefined; export declare const getDaysInBetween: (dateOne: Date, dateTwo: Date) => EachDayOfIntervalResult<{ start: Date; end: Date; }, undefined>; export declare const getNextMonthYear: (date: Date) => { month: number; year: number; }; export declare const getWeekFromDate: (date: Date, weekStart: string | number) => [Date, Date]; export declare const assignDefaultTime: (obj: TimeModel | Record, enableSeconds: boolean) => TimeModel; export declare const getDateForCompare: (date: MaybeDate, month: number, year: number) => [Date, Date]; export declare const setDateMonthOrYear: (date: DateValue, month?: number | null, year?: number | null) => Date; export declare const validateMonthYear: (date: Date, maxDate: DateValue, minDate: DateValue, preventMinMaxNavigation: boolean, next: boolean) => boolean; export declare const validateMinDate: (month: number, year: number, minDate: Date) => boolean; export declare const validateMaxDate: (month: number, year: number, maxDate: Date) => boolean; export declare const formatDate: (value: Date | Date[], formatProp: IFormat | null, formatLocale: Locale | null, rangeSeparator: string, modelAuto: boolean, pattern: string, parser?: boolean) => string; export declare const checkPartialRangeValue: (isPartial: boolean) => Date; export declare const checkRangeEnabled: (fn: () => T, range: boolean) => T; export declare const isValidDate: (value: Date | Date[] | null | (Date | null)[]) => boolean; export declare const setDateTimeFromObj: (time: TimeModel, date?: Date | null) => Date; /** * Depending on the time or full date validation, validate if the selected time is valid * Extracted logic from isValidTime fn */ export declare const validateTime: (date: Date | null, dateToCompare: Date, compare: "max" | "min", full: boolean) => boolean; export declare const checkTimeMinMax: (minOrMax: TimeModel | null, dateCompare: Date | string | null, map: "min" | "max", selectedDateTime: Date | Date[], isValid: boolean) => boolean; export declare const setTimeValue: (date: Date) => Date; export declare const getDisabledMonths: (disabledDates: Map | null | ((date: Date) => boolean), year: number) => number[]; export declare const checkHighlightMonth: (defaultedHighlight: Highlight | HighlightFn, month: number, year: number) => boolean; export declare const checkHighlightYear: (defaultedHighlight: Highlight | HighlightFn, year: number) => boolean;