import React from 'react'; import { CalendarProps } from 'antd'; import { Moment } from 'moment'; import './index.less'; type CalendarContent = { type: 'info' | 'warning' | 'error' | 'success'; value: string; }; type CalendarMessageItem = { cellType: 'date' | 'month' | 'both'; contents: Array; time: string; }; interface CalendarExtraProps { headerType?: 'default' | 'select'; template?: 'message'; list?: CalendarMessageItem[]; } declare function Calendar({ className, headerRender, headerType, fullscreen, template, dateCellRender, monthCellRender, list, ...props }: CalendarProps & CalendarExtraProps): React.JSX.Element; export { Calendar };