import * as React from 'react'; import type { DateRange } from 'react-day-picker'; import { DayPicker } from 'react-day-picker'; import { Button } from '@/components/ui/button'; type CalendarProps = React.ComponentProps & { buttonVariant?: React.ComponentProps['variant']; singleDate?: boolean; /** * If provided, Calendar will paint the range (middle) and optionally an "active" endpoint. */ range?: DateRange; /** * Which endpoint should be shown as the active circle in this calendar. * - "start" paints range.from as a filled circle * - "end" paints range.to as a filled circle */ activeRangeSide?: 'start' | 'end'; /** * Caption prefix like "From:" / "To:" (used when captionLayout="label") */ captionPrefix?: string; /** * When true, forces weekday to be a single letter (like the screenshot). */ weekdaySingleLetter?: boolean; }; declare const Calendar: ({ className, classNames, showOutsideDays, captionLayout, formatters, components, range, activeRangeSide, captionPrefix, weekdaySingleLetter, singleDate, modifiers, modifiersClassNames, ...props }: CalendarProps) => import("react/jsx-runtime").JSX.Element; export { Calendar }; //# sourceMappingURL=calendar.d.ts.map