import type { RegisterOptions } from "react-hook-form"

import type { SelectProps as ReactAriaSelectProps } from "@/components/TempDesignSystem/Select/select"

export interface SelectProps
  extends Omit<
      React.SelectHTMLAttributes<HTMLSelectElement>,
      "name" | "onSelect" | "placeholder"
    >,
    Omit<ReactAriaSelectProps, "onSelect" | "ref" | "value"> {
  registerOptions?: RegisterOptions
}
