import * as React from 'react';
import * as PropTypes from 'prop-types';
export { HeaderProps } from './Header';
declare function noop(): null;
export declare type CalendarMode = 'day' | 'week' | 'month';
export interface CalendarProps {
    prefixCls?: string;
    className?: string;
    value?: any;
    defaultValue?: any;
    mode?: CalendarMode;
    fullscreen?: boolean;
    monthCellRender?: (date: any) => React.ReactNode;
    monthFullCellRender?: (date: any) => React.ReactNode;
    dateCellRender?: (date: any) => React.ReactNode;
    dateFullCellRender?: (date: any) => React.ReactNode;
    locale?: any;
    style?: React.CSSProperties;
    onPanelChange?: (date?: any, mode?: CalendarMode) => void;
    onSelect?: (date?: any) => void;
    disabledDate?: (current: any) => boolean;
}
export interface CalendarState {
    value: any;
    mode?: CalendarMode;
}
export default class Calendar extends React.Component<CalendarProps, CalendarState> {
    static defaultProps: {
        locale: {};
        fullscreen: boolean;
        prefixCls: string;
        mode: string;
        onSelect: typeof noop;
        onPanelChange: typeof noop;
    };
    static propTypes: {
        monthCellRender: PropTypes.Requireable<(...args: any[]) => any>;
        monthFullCellRender: PropTypes.Requireable<(...args: any[]) => any>;
        dateCellRender: PropTypes.Requireable<(...args: any[]) => any>;
        dateFullCellRender: PropTypes.Requireable<(...args: any[]) => any>;
        fullscreen: PropTypes.Requireable<boolean>;
        locale: PropTypes.Requireable<object>;
        prefixCls: PropTypes.Requireable<string>;
        className: PropTypes.Requireable<string>;
        style: PropTypes.Requireable<object>;
        onPanelChange: PropTypes.Requireable<(...args: any[]) => any>;
        value: PropTypes.Requireable<object>;
        onSelect: PropTypes.Requireable<(...args: any[]) => any>;
    };
    constructor(props: CalendarProps);
    componentWillReceiveProps(nextProps: CalendarProps): void;
    dateCellRender: (value: any) => JSX.Element;
    setValue: (value: any, way: "select" | "changePanel") => void;
    setType: (type: string) => void;
    onHeaderValueChange: (value: any) => void;
    onHeaderTypeChange: (type: string) => void;
    onPanelChange(value: any, mode: CalendarMode | undefined): void;
    onSelect: (value: any) => void;
    renderCalendar: (locale: any, localeCode: string) => JSX.Element;
    render(): JSX.Element;
}
