import { State } from '../../hooks/useState'; import { Dayjs, OpUnitType, QUnitType } from './dayjs'; import type { useFormats } from './useFormats'; import { StateValueItem } from './useValueBase'; import { Position } from './useHighlight'; export declare function useDisabled({ createDateByValueFormat }: ReturnType, getHighlightPosition?: () => State): { isDisabled: (value: Dayjs, type?: OpUnitType | QUnitType) => boolean; isDisabledTime: (value: Dayjs) => boolean; isDisabledConfirm: () => boolean; isDisabledValue: (value: StateValueItem) => boolean; maxDate: State; minDate: State; };