import type { TZDate } from '@date-fns/tz'; import type { Dispatch } from 'react'; import type { StoreApi } from 'zustand'; import type { CalendarStrictValueType } from '../../../../forms/calendar/Calendar.types.js'; import type { CalendarType } from '../../../../forms/calendar/CalendarRoot.js'; import type { FormFieldMessagesReducerAction } from '../../../../forms/forms-core/state/formfield-messages-state-reducer.js'; import type { TimeValue } from '../../../types/time.js'; import type { CalendarTimeframeState, CalendarTimeframeStoreActions } from '../calendar.types.js'; /** * Gets the timeframe from the calendar selection. * @internal */ export declare function getTimeframeFromCalendarSelection(inputValue: TZDate | null, state: CalendarTimeframeState): { from: TimeValue | null; to: TimeValue | null; } | null; /** * Creates actions for the Calendar store using the slice action handlers. * @internal */ export declare function getCalendarActions(isControlled: boolean, type?: CalendarType, formFieldMessagesDispatch?: Dispatch, onChangeProp?: (date: CalendarStrictValueType) => void): (set: StoreApi['setState']) => CalendarTimeframeStoreActions;