import { type Dispatch } from 'react'; import type { TimeframeV2 } from '../../../core/types/time.js'; import { type FormFieldMessagesReducerAction } from '../../forms-core/state/formfield-messages-state-reducer.js'; import type { CalendarReducerAction, CalendarState } from '../types/shared-types.js'; /** Calendar reducer */ export declare function reducer(state: CalendarState, action: CalendarReducerAction, handleValidation: Dispatch, onChange?: (date: TimeframeV2 | string | null) => void, precision?: 'minutes' | 'seconds' | 'milliseconds'): CalendarState;