import React from 'react'; import './style/index.less'; export interface baseCalendarProps { prefixCls?: string; mutiSelect?: boolean; infinite?: boolean; luna?: boolean; ableDate?: Date[]; className?: string; onChange?: any; onConfirm?: (value: any, key: string) => void; } export declare type StateType = { monthList: Array; selectDateArr: Array; timeArr: Array; startDate: number; endDate: number; customOnChange: any; }; export declare type CalendarProps = React.HTMLProps & baseCalendarProps; declare class Calendar extends React.Component { nowDay: number; mutiSelect: boolean; customOnChange: (date: any) => Promise; static defaultProps: { mutiSelect: boolean; infinite: boolean; luna: boolean; ableDate: never[]; }; constructor(props: Readonly); componentDidMount(): void; init(date: Date): Promise; setInfiiteNextMonth(): void; setSingleMonthList(date: any): void; handleScroll(e: any): void; setSelectDateArr: (date: Date) => Promise<{ success: boolean; state: StateType; }>; render(): JSX.Element; } export default Calendar;