import * as React from 'react'; import DayModel from './models/day'; import WeekModel from './models/week'; import { WeekDaysModel } from './models/week-days'; import './styles/index.css'; interface BaseProps { onDateClick: Function; weekStart: WeekDaysModel; weekHoliday: WeekDaysModel | -1; showWeekNumber: boolean; multiChoice: boolean; multiSpan: boolean; allowBefore: boolean; chosenDates: Array; blockedDates: Array; holidayDates: Array; yearsDiff: number; locale: string; } interface BaseState { currentMonth: number; currentYear: number; chosenDates: Array; blockedDates: Array; holidayDates: Array; spanDates: Array; isSpanChoosing: boolean; spanError: boolean; } declare class DatePicker extends React.Component { static defaultProps: Partial; readonly state: BaseState; initDatesArray(type: string): Array; initMonthYear(iMonth: boolean): number; initWeeks(): Array; checkOtherMonth(date: Date): boolean; checkBefore(date: Date): boolean; checkToday(date: Date): boolean; checkDateArray(date: Date, type: string): boolean; stepMonth: (next: boolean, block?: boolean) => void; changeMonth: (event: React.ChangeEvent) => void; changeYear: (event: React.ChangeEvent) => void; onDateClick: (day: DayModel) => void; onDateHover: (day: DayModel) => void; sortAndReturn(dates: Array): void; render(): JSX.Element; } export default DatePicker;