import { Control, FieldValues, Path, RegisterOptions } from 'react-hook-form'; import { ClassNamesConfig, GroupBase, InputActionMeta, OnChangeValue } from 'react-select'; interface SelectOptions { value: string | number; label: string; } interface Props { label: string; name: Path; control: Control; isMulti?: boolean; options?: SelectOptions[]; isRequired?: boolean; isInvalid?: boolean; isLoading?: boolean; isDisabled?: boolean; placeholder?: string; /** Overrides the id used for the input + SSR-stable ids. Defaults to `name`. */ instanceId?: string; errorMessage?: string; rules?: Omit>, "valueAsNumber" | "valueAsDate" | "setValueAs" | "disabled">; classNames?: ClassNamesConfig>; onChange?: (value: OnChangeValue) => void; noOptionsMessage?: string; onInputChange?(newValue: string, actionMeta: InputActionMeta): void; } export default function InputCreatableSelectRHF({ options, ...props }: Props): import("react").JSX.Element; export {};