import type { CountryCode } from "libphonenumber-js/min"
import type { RegisterOptions } from "react-hook-form"

export type LowerCaseCountryCode = Lowercase<CountryCode>

export interface PhoneProps {
  ariaLabel?: string
  className?: string
  countrySelectorName?: string
  disabled?: boolean
  label: string
  name?: string
  placeholder?: string
  readOnly?: boolean
  registerOptions?: RegisterOptions
}
