import { DateType } from '@mezzanine-ui/core/calendar'; import { FocusEventHandler, KeyboardEventHandler, RefObject } from 'react'; export type UsePickerValueProps = { defaultValue?: DateType; format: string; inputRef: RefObject; value?: DateType; }; /** * This hook keep tracks of an internal value. */ export declare function usePickerValue({ defaultValue, format, inputRef, value: valueProp, }: UsePickerValueProps): { inputValue: string; onBlur: FocusEventHandler; onChange: (val?: DateType) => void; onInputChange: import("react").ChangeEventHandler; onKeyDown: KeyboardEventHandler; value: string | undefined; };