import type { Dispatch, SetStateAction } from 'react'; interface Props { readonly defaultOpen?: boolean | undefined; readonly defaultValue?: [ Date | number | string | null | undefined, Date | number | string | null | undefined ] | undefined; readonly onClose?: (() => void) | undefined; readonly onOpen?: (() => void) | undefined; readonly onChange?: ((value: [ Date | number | string | null | undefined, Date | number | string | null | undefined ]) => void) | undefined; } export interface State { readonly handleClose: () => void; readonly handleOpen: () => void; readonly open: boolean; readonly setOpen: Dispatch>; readonly handleChange: (value: [ Date | number | string | null | undefined, Date | number | string | null | undefined ]) => void; readonly setValue: Dispatch>; readonly value: [ Date | number | string | null | undefined, Date | number | string | null | undefined ]; } export default function useDateRangePicker({ defaultOpen, defaultValue, onChange, onClose, onOpen, }?: Partial): State; export {};