import * as React from "react"; import WeekNumber from "./WeekNumber"; import DateShortCut from "./DateShortCut"; import YearNumber from "./YearNumber"; import MonthNumber from "./MonthNumber"; interface IDatePickerProps { defaultDate?: string | Date | any; maxDate?: string | Date; minDate?: string | Date; disabledDate?: (data: any) => void; onChange?: (data: any, exit: any, e: any) => void; showToday?: boolean; onOk?: () => void; subweekElement?: any; subyearElement?: any; submonthElement?: any; subheadnavElement?: any; monthLongTexts?: string[]; monthShortTexts?: string[]; weekShortTexts?: string[]; weekLongTexts?: string[]; onexitPanel?: (...args: any[]) => void; rangeDate?: any; isSelectRange?: boolean; isDouble?: boolean; showValue: boolean; prefixCls: string; } interface ICalendarState { date: Date; minDate: Date; maxDate: Date; hoverdate: string | Date; } declare class Calendar extends React.Component { static defaultProps: { subweekElement: typeof WeekNumber; subyearElement: typeof YearNumber; submonthElement: typeof MonthNumber; subheadnavElement: typeof DateShortCut; disabledDate: () => void; minDate: Date; maxDate: Date; defaultDate: Date; showToday: boolean; onOk: undefined; weekLongTexts: string[]; weekShortTexts: string[]; monthLongTexts: string[]; monthShortTexts: string[]; }; private calendar; constructor(props: IDatePickerProps); componentWillReceiveProps(nextProps: any): void; onInputKeyDownCal: (event: any) => void; dateValidAndSet: (date: any) => void; handerChangeDate: (d: any, type: any, e: any) => void; hoverChangeDate: (d: any, type: any, e: any) => void; render(): JSX.Element; } export default Calendar;