import { Component } from 'intact-vue'; import { Dayjs } from 'dayjs'; import type { Datepicker } from './index'; import type { StateValue } from './useValueBase'; import { PanelFlags } from './usePanel'; import { Position } from './useHighlight'; export interface DatepickerCalendarProps { value: StateValue; type?: 'date' | 'year' | 'month' | 'week' | 'quarter'; flag: PanelFlags; highlightPosition: Position; } export interface DatepickerCalendarEvents { change: [Dayjs, PanelFlags]; } export declare class DatepickerCalendar extends Component { static template: string | import('intact-vue').Template; static defaults: () => Partial; type: import("../../hooks/useState").State>; datepicker: Datepicker; showDate: { date: import("../../hooks/useState").State; getDateLabel: () => { value: string; onClick(e: import("../../hooks/useDocumentClick").IgnoreClickEvent): void; }[]; prevMonth: () => void; nextMonth: () => void; prevYear: () => void; nextYear: () => void; nextTenYears: () => void; prevTenYears: () => void; }; status: { isActive: (date: Dayjs, type: "date" | "month" | "week" | "year" | "quarter" | undefined) => boolean; isInRange: (date: Dayjs, type: "date" | "month" | "week" | "year" | "quarter" | undefined) => boolean; isDisabled: (value: Dayjs, type?: "h" | "s" | "y" | "date" | "month" | "week" | "millisecond" | "second" | "minute" | "hour" | "day" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "D" | "M" | "m" | "ms" | "weeks" | "w" | "quarter" | "quarters" | "Q") => boolean; }; days: { getDays: (now: Dayjs) => { isExceed: boolean; isActive: boolean; isToday: boolean; isDisabled: boolean; isHover: boolean; isInRange: boolean; label: number; value: Dayjs; }[]; onClick: (value: Dayjs) => void; }; years: { getYearRange: () => number[]; getYearLabel: () => string; getYears: (now: Dayjs) => { isExceed: boolean; isActive: boolean; isToday: boolean; isDisabled: boolean; isHover: boolean; isInRange: boolean; label: number; value: Dayjs; }[]; onClick: (date: Dayjs) => void; }; months: { getMonths: (now: Dayjs) => { isActive: boolean; isToday: boolean; isDisabled: boolean; isHover: boolean; isInRange: boolean; label: string; value: Dayjs; }[]; onClick: (date: Dayjs) => void; }; weeks: { getWeeks: (now: Dayjs) => { week: number; days: { isExceed: boolean; label: number; value: Dayjs; isActive: boolean; isToday: boolean; isDisabled: boolean; isHover: boolean; isInRange: boolean; }[]; }[]; onClick: (day: Dayjs) => void; }; quarters: { getQuarters: (now: Dayjs) => { isActive: boolean; isToday: boolean; isDisabled: boolean; isHover: boolean; isInRange: boolean; label: string; value: Dayjs; }[]; onClick: (date: Dayjs) => void; }; private config; triggerChange(value: Dayjs): void; }