import type { GenerateConfig } from "../../generate/index.js"; import type { DisabledDate, InternalMode, Locale } from "../../interface.js"; 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): (date: DateType, info: { type: import("../../interface.js").PanelMode; from?: DateType; }) => boolean;