import React, { ChangeEvent, JSX } from 'react'; import * as react_hook_form from 'react-hook-form'; import { FieldError } from 'react-hook-form'; interface DateRangePickerInputProps { from: Date; to: Date; } type InputProps = { name: string; onChange: (e: ChangeEvent) => void; error?: boolean | string | { message?: string; } | null | undefined | FieldError; label?: string | null; placeholder?: string | undefined; value?: string | boolean | number | Date | Date[] | DateRangePickerInputProps; inputClassName?: string | null; labelClassName?: string | null; errorClassName?: string | null; prepend?: React.ReactNode | JSX.Element | null; prependClassName?: string | null; append?: React.ReactNode | JSX.Element | null; appendClassName?: string | null; disableShrink?: boolean; disabled?: boolean; } & React.InputHTMLAttributes; type PasswordInputProps = InputProps; declare const PasswordInput: React.ForwardRefExoticComponent<{ name: string; onChange: (e: React.ChangeEvent) => void; error?: boolean | string | { message?: string; } | null | undefined | react_hook_form.FieldError; label?: string | null; placeholder?: string | undefined; value?: string | boolean | number | Date | Date[] | DateRangePickerInputProps; inputClassName?: string | null; labelClassName?: string | null; errorClassName?: string | null; prepend?: React.ReactNode | React.JSX.Element | null; prependClassName?: string | null; append?: React.ReactNode | React.JSX.Element | null; appendClassName?: string | null; disableShrink?: boolean; disabled?: boolean; } & React.InputHTMLAttributes & React.RefAttributes>; export { type PasswordInputProps, PasswordInput as default };