import { DatePickerState } from "@react-stately/datepicker"; import { DatePickerProps, DateValue } from "@react-types/datepicker"; import { PopoverState, PopoverStateProps } from "ariakit"; export declare function useDatePickerBaseState(props: DatePickerBaseStateProps): DatePickerBaseState; export declare type DatePickerBaseState = { datepicker: DatePickerState; popover: PopoverState; }; export declare type DatePickerBaseStateProps = DatePickerProps & PopoverStateProps & { /** * Determines whether the date picker popover should close automatically when a date is selected. * @default true */ shouldCloseOnSelect?: boolean | (() => boolean); };