import type { RegisterOptions } from "react-hook-form" export enum Key { CHAR_LENGTH = "CHAR_LENGTH", NUM = "NUM", SPECIAL_CHAR = "SPECIAL_CHAR", UPPERCASE = "UPPERCASE", } export interface NewPasswordProps extends React.InputHTMLAttributes { label?: string registerOptions?: RegisterOptions } export interface IconProps { matcher: Key messages: Key[] }