import React from 'react'; import { FieldPath, FieldValues, RegisterOptions } from 'react-hook-form'; import { Props as ReactSelectProps } from 'react-select'; interface SelectOption { value: any; label: string; [key: string]: any; } interface ReactSelectFieldProps extends Omit, 'name' | 'value' | 'onChange'> { name: FieldPath; label?: string; error?: string; helperText?: string; required?: boolean; validation?: RegisterOptions; options: SelectOption[]; className?: string; wrapperClassName?: string; defaultValue?: any; } export declare function ReactSelectField({ name, label, error, wrapperClassName, helperText, required, validation, options, className, isMulti, defaultValue, ...selectProps }: ReactSelectFieldProps): React.JSX.Element; export {};