import { DatePickerProps } from '@heroui/react'; import { Control, FieldValues, Path, RegisterOptions } from 'react-hook-form'; interface Props extends DatePickerProps { control: Control; name: Path; rules?: RegisterOptions>; noLimit?: boolean; } /** * @deprecated Use `InputDate.WithRHFControl` (DateValue) or `InputDate.WithRHFControlISO` (ISO * string, replaces `.V2`). Note: the hardcoded "within the last 2 weeks" bound is not carried over * — pass `minValue`/`maxValue` or a `rules.validate` at the call site. */ declare function DateTimePickerRHF(props: Props): import("react").JSX.Element; declare namespace DateTimePickerRHF { var V2: (props: V2Props) => import("react").JSX.Element; } export default DateTimePickerRHF; interface V2Props extends Props { toEndOfDay?: boolean; onValueChange?: (value?: string) => void; }