import { FieldValues, UseFormReturn } from 'react-hook-form';
import { SelectItem } from './SelectField';
import './styles.scss';
type Props<TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues = TFieldValues> = {
    attr: string;
    label: string;
    createdForm: UseFormReturn<TFieldValues, TContext, TTransformedValues>;
    className?: string;
    disabled?: boolean;
    title?: string;
    placeholder?: string;
    loadOptions: (value: string) => Promise<SelectItem[]>;
    required?: boolean;
    multiple?: boolean;
    freeSolo?: boolean;
    minQueryLength?: number;
    onChange?: (attr: string, value: any) => void;
    noOptionsText?: string;
};
export default function AsyncSelectField<TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues = TFieldValues>({ className, attr, label, createdForm, disabled, title, placeholder, loadOptions, required, multiple, freeSolo, minQueryLength, onChange, noOptionsText, }: Props<TFieldValues, TContext, TTransformedValues>): import("react").JSX.Element;
export {};
