import type { GenerateConfig } from '../../generate'; import type { DisabledDate, InternalMode, Locale } from '../../interface'; export type IsInvalidBoundary = (currentDate: DateType, type: InternalMode, fromDate?: DateType) => boolean; /** * Merge `disabledDate` with `minDate` & `maxDate`. */ export default function useDisabledBoundary(generateConfig: GenerateConfig, locale: Locale, disabledDate?: DisabledDate, minDate?: DateType, maxDate?: DateType): DisabledDate;