import React from 'react'; import { FieldPath, FieldValues, RegisterOptions } from 'react-hook-form'; import { CreatableProps } from 'react-select/creatable'; interface SelectOption { value: any; label: string; [key: string]: unknown; } interface ReactSelectCreatableFieldProps 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; onCreateOption?: (inputValue: string) => void; formatCreateLabel?: (inputValue: string) => string; } export declare function ReactSelectCreatableField({ name, label, error, wrapperClassName, helperText, required, validation, options, className, isMulti, defaultValue, onCreateOption, formatCreateLabel, ...selectProps }: ReactSelectCreatableFieldProps): React.JSX.Element; export {};