import isDate from 'date-fns/isDate'; import addMinutes from 'date-fns/addMinutes'; import addHours from 'date-fns/addHours'; import addDays from 'date-fns/addDays'; import addWeeks from 'date-fns/addWeeks'; import addMonths from 'date-fns/addMonths'; import addYears from 'date-fns/addYears'; import subMinutes from 'date-fns/subMinutes'; import subHours from 'date-fns/subHours'; import subDays from 'date-fns/subDays'; import subWeeks from 'date-fns/subWeeks'; import subMonths from 'date-fns/subMonths'; import subYears from 'date-fns/subYears'; import getSeconds from 'date-fns/getSeconds'; import getMinutes from 'date-fns/getMinutes'; import getHours from 'date-fns/getHours'; import getDay from 'date-fns/getDay'; import getDate from 'date-fns/getDate'; import getMonth from 'date-fns/getMonth'; import getQuarter from 'date-fns/getQuarter'; import getYear from 'date-fns/getYear'; import getTime from 'date-fns/getTime'; import setMinutes from 'date-fns/setMinutes'; import setHours from 'date-fns/setHours'; import setMonth from 'date-fns/setMonth'; import setQuarter from 'date-fns/setQuarter'; import setYear from 'date-fns/setYear'; import isAfter from 'date-fns/isAfter'; import isBefore from 'date-fns/isBefore'; import { DateFormat, DateType } from '../interface'; export declare const DEFAULT_YEAR_ITEM_NUMBER = 12; export declare const localeParse: (format: string) => string; export declare function isNullEqual(value1: T, value2: T): boolean | undefined; export declare function newDate(value?: DateType): Date | null; export declare function parseDate(value: string, dateFormat: DateFormat): Date | null; export { isDate }; export declare function isValid(date: DateType): boolean; export declare function formatDate(date: DateType, _format: DateFormat, _locale?: string): string | null; export declare function setTime(date: DateType, { hour, minute, second }: { hour?: number | undefined; minute?: number | undefined; second?: number | undefined; }): Date; export { setMinutes, setHours, setMonth, setQuarter, setYear }; export { getSeconds, getMinutes, getHours, getMonth, getQuarter, getYear, getDay, getDate, getTime }; export declare function getWeek(date: DateType): number; export declare function getStartOfDay(date: DateType): Date; export declare function getStartOfWeek(date: DateType): Date; export declare function getStartOfMonth(date: DateType): Date; export declare function getStartOfYear(date: DateType): Date; export declare function getStartOfQuarter(date: DateType): Date; export declare function getEndOfWeek(date: DateType): Date; export { addMinutes, addDays, addWeeks, addMonths, addYears, addHours }; export { subMinutes, subHours, subDays, subWeeks, subMonths, subYears }; export { isBefore, isAfter }; export declare function isSameYear(date1: DateType | null, date2: DateType | null): boolean; export declare function isSameMonth(date1: DateType | null, date2: DateType | null): boolean; export declare function isSameQuarter(date1: DateType | null, date2: DateType | null): boolean; export declare function isSameDay(date1: DateType | null, date2: DateType | null): boolean; export declare function isEqual(date1: DateType | null, date2: DateType | null): boolean; export declare function getFormattedWeekdayInLocale(date: DateType, formatFunc: (a: string | null) => void, locale: string): void; export declare function getWeekdayMinInLocale(date: DateType, locale?: string): string | null; export declare function getWeekdayShortInLocale(date: DateType, locale?: string): string | null; export declare function getMonthInLocale(month: number, locale: string): string | null; export declare function getMonthShortInLocale(month: number, locale: string): string | null; export declare function getQuarterShortInLocale(quarter: number, locale: string): string | null; export declare function getYearsPeriod(date: DateType, yearItemNumber: number): { startPeriod: number; endPeriod: number; }; export declare function getLowerBoundTime(hour: number, minute: number, second: number, hourStep: number, minuteStep: number, secondStep: number): [number, number, number]; export declare const setYearOrMonthOfDate: (date1: DateType, date2: DateType, type?: string) => Date;