import { ForwardedRef, ChangeEventHandler, SyntheticEvent } from 'react'; import { MergedRef } from '../../shared/src/useMergedRefs.js'; declare const DateInputMask: (string | RegExp)[]; interface UseDateInputProps { defaultValue?: Date; forwardedRef: ForwardedRef; max?: Date; min?: Date; onChange?: ChangeEventHandler; onDateChange?: (event: SyntheticEvent, date: Date) => void; value?: Date | null; } declare function useDateInput({ defaultValue, forwardedRef, max, min, onChange, onDateChange, value: valueProp }: UseDateInputProps): { onChange: () => void; } & { onBlur: (event: any) => void; onChange: (...args: any[]) => void; onFocus: () => void; ref: MergedRef; value: string; }; export { DateInputMask, type UseDateInputProps, useDateInput };