import { Dispatch, SetStateAction } from 'react'; import { AnchorOrigin, DateSlotBase, SelectedValues } from '../type'; type StateSetter = Dispatch>; type CalendarProps = { anchorOrigin?: AnchorOrigin; desktopMode?: boolean; disabled?: boolean; filteredViews?: ('year' | 'month' | 'date')[]; handleCancel?: () => void; handleConfirmation?: () => void; handleDisableDate?: (date: Date) => boolean; handleDisableMonth?: (month: number, year: number) => boolean; handleDisableYear?: (year: number) => boolean; inputFormat?: string; isOpen?: boolean; isWeekly?: boolean; maxDate?: Date; minDate?: Date; possibleDates?: DateSlotBase[]; selectedValues?: SelectedValues; selectedView?: 'year' | 'month' | 'date'; handleSelectedValuesChange?: ({ year, month, date, range }: SelectedValues) => void; setSelectedView?: StateSetter<'year' | 'month' | 'date'>; setIsOpen?: StateSetter; setDebouncedValue?: StateSetter; value?: Date | string; views?: ('year' | 'month' | 'date')[]; }; export default CalendarProps; //# sourceMappingURL=type.d.ts.map