import { ChangeEventHandler, FocusEventHandler, MouseEventHandler, PropsWithChildren, RefObject } from 'react'; import { FormControlProps, SystemStyleObject, ThemingProps, UseDisclosureReturn } from '@chakra-ui/react'; import { DateRangeValue, RangeCalendarProps } from '../Calendar'; import { DateRangePickerProps } from './DateRangePicker'; interface DateRangePickerContextReturn { isMobile: boolean; styles: Record; handleStartDateChange: ChangeEventHandler; handleEndDateChange: ChangeEventHandler; handleCalendarDateChange: (value: DateRangeValue) => void; handleFieldContainerClick: () => void; handleInputClick: MouseEventHandler; calendarButtonAria: string; startInputRef: RefObject; endInputRef: RefObject; initialFocusRef: RefObject; handleInputBlur: FocusEventHandler; fcProps: FormControlProps; internalValue: DateRangeValue; startInputDisplay: string; endInputDisplay: string; closeCalendarOnChange: boolean; placeholder: string; allowManualInput: boolean; disclosureProps: UseDisclosureReturn; labelSeparator: string; colorScheme?: ThemingProps<'DatePicker'>['colorScheme']; size?: ThemingProps<'DatePicker'>['size']; calendarProps: Pick; inputPattern?: string; } export declare const DateRangePickerProvider: ({ children, ...props }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element; export declare const useDateRangePicker: () => DateRangePickerContextReturn; export {};