import React from "react"; import { type DayStates, type RenderDayContent } from "./dayStates"; /** Month grid state and handlers lifted from DatePicker; single-date or range. */ export type CalendarPanelProps = { currentMonth: Date; setCurrentMonth: (updater: (prev: Date) => Date) => void; today: Date; isRange: boolean; tempDate: Date | null; tempRangeStart: Date | null; tempRangeEnd: Date | null; isSameDay: (a: Date, b: Date) => boolean; isBefore: (a: Date, b: Date) => boolean; isAfter: (a: Date, b: Date) => boolean; minDate?: Date; maxDate?: Date; disablePastDates?: boolean; disableFutureDates?: boolean; disableToday?: boolean; onDaySelect: (d: Date) => void; hoveredDate?: Date | null; onDayHover?: (d: Date | null) => void; renderWeekdays?: React.ReactNode; /** Marks individual days (weekly off, holiday, …). See `dayStates.ts`. Omit for the plain grid. */ dayStates?: DayStates; /** Custom content inside a day cell, replacing that day's built-in marker dot. */ renderDayContent?: RenderDayContent; }; /** Internal month grid shared by Single/RangeDatePicker; not published from index.ts, so only reachable via a deep import. */ export declare const CalendarPanel: React.FC; export default CalendarPanel;