import React from 'react'; import { LegendItem } from '../components/datePicker/types'; export type DatePickerContextType = { datepickerRef: React.MutableRefObject; currentMonth: Date; currentMonthAvailableDays: number[]; minDate: Date; maxDate: Date; focusedDate: Date | null; selectedDate: Date | null; locale: Locale; language: 'en' | 'fi' | 'sv'; isDateDisabledBy: (Date: any) => boolean; setCurrentMonth: (Date: any) => void; setFocusedDate: (date: Date | null) => void; setSelectedDate: (date: Date | null) => void; onDayClick?: (date: Date, e: React.MouseEvent) => void; handleKeyboardNavigation: (event: React.KeyboardEvent) => void; handleMonthChange: (NextMonth: Date, event?: React.MouseEvent) => void; setDateClassName?: (date: Date) => string | undefined; legend?: LegendItem[]; setDateAriaDescribedBy?: (date: Date) => string | undefined; }; export declare const DatePickerContext: React.Context;