import { RegisterOptions } from 'react-hook-form';
import { StylesConfig } from 'react-select';
import { ID } from '@zeniai/client-epic-state';
import { DisableMode } from '../../formElements/common/common';
/**
 * Component & its Props
 */
interface OptionTypeBase {
    [key: string]: any;
}
export interface OptionType extends OptionTypeBase {
    value: string;
    additionalNote?: string;
    isDisabled?: boolean;
    isOptionRecommended?: boolean;
    label?: string;
    zeniId?: string;
}
export interface CreatableAutoCompleteSingleSelectFieldValue {
    defaultOptions: OptionType[];
    selectedOption?: string;
}
interface TooltipProp {
    sticky: boolean;
    text: string;
}
export interface CreatableAutoCompleteSingleSelectTitleFieldProps {
    allOptions: OptionType[];
    defaultValue: CreatableAutoCompleteSingleSelectFieldValue;
    isOptionsLoading: boolean;
    name: string;
    addIconInCreateLabel?: boolean;
    allowEmpty?: boolean;
    customStyleConfig?: StylesConfig<OptionType, false>;
    defaultInputValue?: string;
    defaultMenuOpen?: boolean;
    isDisabled?: DisableMode;
    menuPortal?: HTMLElement | null;
    placeholder?: string;
    registerOptions?: RegisterOptions;
    showDownChevronWithValue?: boolean;
    showEmptyState?: boolean;
    tooltip?: TooltipProp;
    disableCurrentOption?: (option: string) => boolean;
    getRenameOptionText?: (selectProps: any) => string | null;
    loadOptions?: (inputValue: string, callback: (defaultOptions: OptionType[]) => void) => void;
    onClickRenameOption?: (newName: string) => void;
    onMenuClose?: () => void;
    valueToId?: (value: string) => ID | undefined;
    valueToInfo?: (value: string) => string;
}
export declare const CreatableAutoCompleteSingleSelectTitleField: ({ name, registerOptions, defaultValue, isOptionsLoading, isDisabled, placeholder, customStyleConfig, addIconInCreateLabel, showDownChevronWithValue, menuPortal, allOptions, defaultInputValue, defaultMenuOpen, onMenuClose, getRenameOptionText, onClickRenameOption, valueToInfo, valueToId, disableCurrentOption, loadOptions, }: CreatableAutoCompleteSingleSelectTitleFieldProps) => import("react/jsx-runtime").JSX.Element;
export declare const CustomTooltip: ({ children, title, }: {
    children: string;
    title: string;
}) => import("react/jsx-runtime").JSX.Element;
export {};
