import { type Dispatch, type Context } from 'react'; import type { Timeframe } from '../../../core/types/time.js'; import type { CalendarReducerAction, CalendarState } from '../types/shared-types.js'; /** @internal */ export type CalendarContextProps = { onChange?: (value: string | null | Timeframe) => 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;