export interface rangePicker { startDate: Date | null; endDate: Date | null; } import type { ReactNode } from "react"; export type DatePickerContextType = { showTwoMonth?: boolean; children: ReactNode; singleDatePicker?: React.Dispatch>; rangeDate?: (value: rangePicker | ((prevValue: rangePicker | undefined) => rangePicker)) => void; yearPicker?: React.Dispatch>; monthPicker?: React.Dispatch>; timePicker?: React.Dispatch>; }; export declare const DatePickerContext: import("react").Context; export declare function useDatePickerContext(): DatePickerContextType;