import React from 'react'; type CalendarRef = { scrollToDate: (date: string) => void; }; interface Day { day: string | number; type: string; } export interface CalendarProps { type?: string; isAutoBackFill?: boolean; poppable?: boolean; visible?: boolean; title?: string; defaultValue?: string | string[]; startDate?: string; endDate?: string; showToday?: boolean; startText?: string; endText?: string; confirmText?: string; showTitle?: boolean; showSubTitle?: boolean; toDateAnimation?: boolean; onBtn?: (() => string | JSX.Element) | undefined; onDay?: ((date: Day) => string | JSX.Element) | undefined; onTopInfo?: ((date: Day) => string | JSX.Element) | undefined; onBottomInfo?: ((date: Day) => string | JSX.Element) | undefined; onClose?: () => void; onChoose?: (param: string) => void; onSelected?: (data: string) => void; onYearMonthChange?: (param: string) => void; } export declare const Calendar: React.ForwardRefExoticComponent & Omit, ""> & React.RefAttributes>; export {};