import { RegisterOptions } from 'react-hook-form';
import { StylesConfig } from 'react-select';
import { ID } from '@zeniai/client-epic-state';
import { DisableMode } from '../common/common';
import { OptionType } from '../creatableAutoCompleteSingleSelectField/CreatableAutoCompleteSingleSelectField';
/**
 * Component & its Props
 */
interface CreatableAutoCompleteSingleSelectFieldValue {
    defaultOptions: OptionType[];
    selectedOption?: string;
}
interface TooltipProp {
    sticky: boolean;
    text: string;
}
export interface CreatableAutoCompleteWithRecommendationSingleSelectFieldProps {
    defaultValue: CreatableAutoCompleteSingleSelectFieldValue;
    isOptionsLoading: boolean;
    name: string;
    addIconInCreateLabel?: boolean;
    allowEmpty?: boolean;
    autoFocus?: boolean;
    customStyleConfig?: StylesConfig<OptionType, false>;
    isDisabled?: DisableMode;
    menuIsOpen?: boolean;
    placeholder?: string;
    recommendedCreateLabel?: string;
    recommendedVendorName?: string;
    registerOptions?: RegisterOptions;
    showDownChevronWithValue?: boolean;
    showEmptyState?: boolean;
    tentativeVendorName?: string;
    tooltip?: TooltipProp;
    disableCurrentOption?: (option: string) => boolean;
    loadOptions?: (inputValue: string, callback: (defaultOptions: OptionType[]) => void) => void;
    onCreateOptionClick?: (value: string) => void;
    onMenuClose?: () => void;
    valueToElement?: (value: string) => JSX.Element | null;
    valueToId?: (value: string) => ID | undefined;
    valueToInfo?: (value: string) => string;
}
declare const CreatableAutoCompleteWithRecommendationSingleSelectField: ({ name, isOptionsLoading, registerOptions, defaultValue, isDisabled, placeholder, customStyleConfig, addIconInCreateLabel, showDownChevronWithValue, menuIsOpen, autoFocus, recommendedCreateLabel, tentativeVendorName, recommendedVendorName, valueToInfo, valueToId, valueToElement, disableCurrentOption, loadOptions, onCreateOptionClick, onMenuClose, }: CreatableAutoCompleteWithRecommendationSingleSelectFieldProps) => import("react/jsx-runtime").JSX.Element;
export declare const CustomTooltip: ({ children, title, }: {
    children: string;
    title: string;
}) => import("react/jsx-runtime").JSX.Element;
export default CreatableAutoCompleteWithRecommendationSingleSelectField;
