import { DayRangePickerProps } from "../../../DayPicker/DayRangePicker"; import { TemporalDirection } from "../../types"; export type CalculateCustomDateRangeDisabledDaysProps = { maxDaysInRange: number | undefined; allowedDirection: TemporalDirection | undefined; disabledDays?: DayRangePickerProps["disabledDays"]; }; /** * Calculate the disabled days for the custom date range picker based on the maxDaysInRange and allowedDirection. * The range is inclusive of both start and end dates, so we subtract 1 from maxDaysInRange to get the correct number of days. */ export declare const useCalculateCustomDateRangeDisabledDays: () => ({ maxDaysInRange, allowedDirection, disabledDays, }: CalculateCustomDateRangeDisabledDaysProps) => DayRangePickerProps["disabledDays"] | undefined;