import { type Dispatch, type Context } from 'react'; import type { TimeframeV2 } from '../../../core/types/time.js'; import type { CalendarReducerAction, CalendarState } from '../types/shared-types.js'; /** @internal */ export type CalendarContextProps = { onChange?: (value: string | null | TimeframeV2) => void; state: CalendarState; dispatch: Dispatch; readOnly: boolean; }; /** * @internal */ export declare const initialState: CalendarState; /** * Calendar context, used to access the state and dispatcher in other components * @internal */ export declare const CalendarContext: Context;