import React from 'react'; import { Props, GroupBase, SelectInstance } from 'react-select'; export { components as SelectComponents } from 'react-select'; import { FieldError } from 'react-hook-form'; interface Option { value: string | number; label: string | React.ReactNode; } interface SelectProps extends Props> { name: string; error?: boolean | string | { message?: string; } | null | undefined | FieldError; label?: string | React.ReactNode; options?: Option[]; placeholder?: string; value?: Option | null; inputClassName?: string; labelClassName?: string; errorClassName?: string; disableShrink?: boolean; disabled?: boolean; classNames?: Record; components?: Record; onFocus?: (e: React.FocusEvent) => void; onBlur?: (e: React.FocusEvent) => void; [rest: string]: any; } declare const Select: React.ForwardRefExoticComponent & React.RefAttributes>>>; export { type SelectProps, Select as default };