import type { ViewProps } from "@tarojs/components/types/View"; import { type ReactNode } from "react"; import type { PopupPlacement } from "../popup"; import { type CalendarDayObject, type CalendarType, type CalendarValueType, type CalendarSubtitle } from "./calendar.shared"; export interface CalendarProps extends ViewProps { type?: CalendarType; title?: ReactNode; subtitle?: CalendarSubtitle; showSubtitle?: boolean; defaultValue?: CalendarValueType; value?: CalendarValueType; min?: Date; max?: Date; poppable?: boolean; showPopup?: boolean; popupPlacement?: PopupPlacement; popupRounded?: boolean; popupCloseIcon?: boolean; showConfirm?: boolean; confirmText?: ReactNode; confirmDisabledText?: ReactNode; firstDayOfWeek?: number; watermark?: boolean; readonly?: boolean; children?: ReactNode; formatter?(day: CalendarDayObject): CalendarDayObject; onChange?(value: any): void; onConfirm?(value: any): void; onClose?(val: boolean): void; } declare function Calendar(props: CalendarProps): JSX.Element; export default Calendar;