///
import { type Moment } from 'moment';
import type { CalendarProps } from './types';
export type { CalendarProps, RangeCalendarProps, CalendarMode } from './types';
declare const _default: import("../config-provider/types").ConfiguredComponentClass> & Readonly>;
onSelectCell: (date: Moment, nextMode: import("react").MouseEvent | import("./types").CalendarMode) => void;
changeMode: (nextMode: import("./types").CalendarMode) => void;
changeVisibleMonth: (date: Moment, reason: import("./types").VisibleMonthChangeType) => void;
changeVisibleMonthByOffset(offset: number, type: "months" | "years" | "days"): void;
goPrevDecade: () => void;
goNextDecade: () => void;
goPrevYear: () => void;
goNextYear: () => void;
goPrevMonth: () => void;
goNextMonth: () => void;
render(): import("react").JSX.Element;
context: any;
setState(state: import("./types").CalendarState | ((prevState: Readonly, props: Readonly) => import("./types").CalendarState | Pick | null) | Pick | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
state: Readonly;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any;
componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
}, {}> & {
RangeCalendar: import("../config-provider/types").ConfiguredComponentClass> & Readonly number;
onSelect: () => void;
onVisibleMonthChange: () => void;
locale: Partial<{
today: string;
now: string;
ok: string;
clear: string;
month: string;
year: string;
prevYear: string;
nextYear: string;
prevMonth: string;
nextMonth: string;
prevDecade: string;
nextDecade: string;
yearSelectAriaLabel: string;
monthSelectAriaLabel: string;
monthBeforeYear?: boolean | undefined;
format?: {
months?: string[] | undefined;
shortMonths?: string[] | undefined;
firstDayOfWeek?: number | undefined;
weekdays?: string[] | undefined;
shortWeekdays?: string[] | undefined;
veryShortWeekdays?: string[] | undefined;
} | undefined;
}> & {
momentLocale?: string | undefined;
};
showOtherMonth: boolean;
}, never>>;
today: Moment;
onSelectCell: (date: Moment, nextMode: import("react").MouseEvent | import("./types").CalendarMode) => void;
changeMode: (mode: import("./types").CalendarMode, activePanel?: "end" | "start" | undefined) => void;
changeVisibleMonth: (date: Moment, reason: import("./types").VisibleMonthChangeType) => void;
changeVisibleMonthByOffset: (offset: number, type: "months" | "years" | "days") => void;
goPrevDecade: () => void;
goNextDecade: () => void;
goPrevYear: () => void;
goNextYear: () => void;
goPrevMonth: () => void;
goNextMonth: () => void;
render(): import("react").JSX.Element;
context: any;
setState(state: import("./types").RangeCalendarState | ((prevState: Readonly, props: Readonly) => import("./types").RangeCalendarState | Pick | null) | Pick | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
state: Readonly;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any;
componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
}, {}>;
};
export default _default;