import type { PanelMode, NullableDateType, PickerMode, Locale, CustomFormat } from '../interface'; import type { GenerateConfig } from '../generate'; export declare const WEEK_DAY_COUNT = 7; export declare function isNullEqual(value1: T, value2: T): boolean | undefined; export declare function isSameDecade(generateConfig: GenerateConfig, decade1: NullableDateType, decade2: NullableDateType): boolean; export declare function isSameYear(generateConfig: GenerateConfig, year1: NullableDateType, year2: NullableDateType): boolean; export declare function getQuarter(generateConfig: GenerateConfig, date: DateType): number; export declare function isSameQuarter(generateConfig: GenerateConfig, quarter1: NullableDateType, quarter2: NullableDateType): boolean; export declare function isSameMonth(generateConfig: GenerateConfig, month1: NullableDateType, month2: NullableDateType): boolean; export declare function isSameDate(generateConfig: GenerateConfig, date1: NullableDateType, date2: NullableDateType): boolean; export declare function isSameTime(generateConfig: GenerateConfig, time1: NullableDateType, time2: NullableDateType): boolean; export declare function isSameWeek(generateConfig: GenerateConfig, locale: string, date1: NullableDateType, date2: NullableDateType): boolean; export declare function isEqual(generateConfig: GenerateConfig, value1: NullableDateType, value2: NullableDateType): boolean; /** Between in date but not equal of date */ export declare function isInRange(generateConfig: GenerateConfig, startDate: NullableDateType, endDate: NullableDateType, current: NullableDateType): boolean; export declare function getWeekStartDate(locale: string, generateConfig: GenerateConfig, value: DateType): DateType; export declare function getClosingViewDate(viewDate: DateType, picker: PickerMode, generateConfig: GenerateConfig, offset?: number): DateType; export declare function formatValue(value: DateType, { generateConfig, locale, format, }: { generateConfig: GenerateConfig; locale: Locale; format: string | CustomFormat; }): string; export declare function parseValue(value: string, { generateConfig, locale, formatList, }: { generateConfig: GenerateConfig; locale: Locale; formatList: (string | CustomFormat)[]; }): DateType; export declare function getCellDateDisabled({ cellDate, mode, disabledDate, generateConfig, }: { cellDate: DateType; mode: Omit; generateConfig: GenerateConfig; disabledDate?: (date: DateType) => boolean; }): boolean;