import { ReactElement } from "react"; import { GroupBase } from "react-select"; import { CreatableSelectExtraProps } from "../BaseSelect/CreatableSelect"; import { BaseOptionType, SelectFieldProps } from "./FormFieldSelectAdapter"; interface CreatableSelectFieldProps extends SelectFieldProps, CreatableSelectExtraProps> { } /** * The CreatableSelectField component is a CreatableSelect component wrapped in the FromGroup component. * * This means that it can easily be added to any form alongside other Field components. * * This is done to make the field compatible with the React-hook-form library. * * @param {SelectFieldProps & CreatableSelectProps} props - The props for the CreatableSelectField component */ export declare const CreatableSelectField: { ({ allowCreateWhileLoading, onCreateOption, ref, ...props }: CreatableSelectFieldProps): ReactElement; displayName: string; }; export {};