export declare const DEFAULT_MIN_DATE = "1900-01-01"; export declare const DEFAULT_MAX_DATE = "2099-12-31"; export declare const cvaIconButton: (props?: ({ intent?: "previous" | "next" | "calender" | "pulldown" | null | undefined; rotate?: "default" | "inverse" | null | undefined; } & import('class-variance-authority/types').ClassProp) | undefined) => string; /** * Determines whether the specified date is outside the range. Time information is ignored. */ export declare function isDateOutOfRange(base: Date, min: Date, max: Date): boolean; /** * Determines whether the specified month and year are outside the range. Date and time information is ignored. */ export declare function isMonthOutOfRange(base: Date, min: Date, max: Date): boolean; /** * Determines whether the year and month of two dates are the same. */ export declare function isSameYearMonth(a: Date, b: Date): boolean; /** * Stringify the _UTC_ date in YYYY-MM-DD format. */ export declare function formatDateForProperty(date: Date): string; /** * Returns today's date as a string in the format 'YYYY-MM-DD'. * Uses _local_ timezone to determine the current date. */ export declare function getTodayForProperty(): string; /** * Parses the date in YYYY-MM-DD format and returns _UTC_ date. */ export declare function parseDateFromProperty(value: string): Date; /** * Try parsing the date in YYYY-MM-DD format and returns _UTC_ date if available. */ export declare function tryParseDateFromProperty(value: string): Date | null; /** * Normalizes the Date by stripping time information. */ export declare function normalizeDate(base: Date): Date; /** * Clones the Date with stripping time information. */ export declare function cloneDate(base: Date): Date; /** * Clamps the date to the specified range. */ export declare function clampDate(base: Date, min: Date, max: Date): Date; /** * Returns a new Date object set to the first day of the month of the given date. * * @param date The original date. * @returns A new Date object set to the first day of the month. */ export declare function toFirstDayOfMonth(date: Date): Date; /** * Retrieves the date specified by the year, month, and day. * If the specified date does not exist in the month (e.g., 2/31), it is rounded to the closest date in the same month. * The month is in the range 0 to 11. */ export declare function createDateClamped(year: number, month: number, date: number): Date; /** * Retrieves the date of the same day in a different month with the specified offset. * If that day does not exist in the month (such as February 31), it is rounded to the closest day in the month. */ export declare function getDateByMonthOffsetClamped(base: Date, monthOffset: number): Date; /** * Calculates the sequence of weeks that exist on the calendar for the specified year and month. * The array of weeks in each return value always starts with Sunday and contains seven dates. */ export declare function calcWeeksOnCalendar(year: number, month: number): Date[][]; /** * Return the number of days in the specified year and month. * @param year year starting from 1. * @param month month starting from 0 (0 means January). */ export declare function countDaysForYearMonth(year: number, month: number): number;