import { Component } from 'react'; import type { CheckEqualType, LocaleType } from './types'; declare type CalendarProps = { selected?: Date | null; locale: LocaleType; onChange: (nextValue: Date | null) => void; onDayChange: (nextValue: Date | null) => void; isDisabled: (value: Date | null, checkEqual: CheckEqualType) => boolean; isSelected: (value: Date | null) => boolean; isBordered: (value: Date | null) => boolean; }; declare class Calendar extends Component { calendarHeight: number; monthsSelectionOffset: number; monthsSelectionSpace: number; static defaultProps: { selected: null; }; constructor(props: CalendarProps); componentDidMount(): void; componentWillUnmount(): void; datesRef: import("react").RefObject; render(): JSX.Element; } export default Calendar;