import { type Dispatch } from 'react'; import type { TimeValue, TimeframeV2 } from '../../../core/types/time.js'; import { type FormFieldMessagesReducerAction } from '../../forms-core/state/formfield-messages-state-reducer.js'; import type { CalendarState } from '../types/shared-types.js'; /** @internal */ export declare function _isOutOfBounds(date?: string | Date, min?: string | Date, max?: string | Date): boolean; /** @internal */ export declare function validateCalendarSelection(updatedValue: Partial | TimeValue | null, state: CalendarState, formMessageDispatch: Dispatch, showError?: boolean): string | undefined;