import React from 'react'; import type { QuickSelectOption } from './Calendar'; export interface DatePickerContextType { isOpen: boolean; setIsOpen: (open: boolean) => void; value?: string; setValue: (value: string) => void; startValue?: string; setStartValue: (value: string) => void; endValue?: string; setEndValue: (value: string) => void; range: boolean; disabled: boolean; error: boolean; size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "m" | "l" | null | undefined; placeholder?: string; includeDropdown?: boolean; dropdownPresets?: string[]; onDropdownPresetChange?: (preset: string) => void; quickSelectOptions?: QuickSelectOption[]; onChange?: (value: string) => void; onStartChange?: (value: string) => void; onEndChange?: (value: string) => void; containerRef: React.RefObject; calendarRef: React.RefObject; calendarPosition: { top: number; left: number; }; setCalendarPosition: (position: { top: number; left: number; }) => void; portalContainer: HTMLElement | null; setPortalContainer: (container: HTMLElement | null) => void; portalClassName?: string; portalStyle?: React.CSSProperties; portalContainerId?: string; inputValue: string; setInputValue: (value: string) => void; startInputValue: string; setStartInputValue: (value: string) => void; endInputValue: string; setEndInputValue: (value: string) => void; inputError: string | null; setInputError: (error: string | null) => void; isTyping: boolean; setIsTyping: (typing: boolean) => void; formatDateForDisplay: (date: Date | null) => string; parseDateInput: (input: string) => Date | null; handleDateChange: (date: Date | [Date, Date]) => void; handleApply: () => void; handleCancel: () => void; handleClear: () => void; } /** * Hook to access DatePicker context * Required for DatePickerInput, DatePickerCalendar, DatePickerTrigger sub-components */ export declare const useDatePickerContext: () => DatePickerContextType; export interface DatePickerProviderProps { value: DatePickerContextType; children: React.ReactNode; } export declare const DatePickerProvider: React.FC; //# sourceMappingURL=DatePickerContext.d.ts.map