import { RegisterOptions } from 'react-hook-form';
import { StylesConfig } from 'react-select';
import { ID } from '@zeniai/client-epic-state';
import { DisableMode } from '../common/common';
/**
 * Component & its Props
 */
interface OptionTypeBase {
    [key: string]: any;
}
export interface OptionType extends OptionTypeBase {
    label: string;
    value: string;
    additionalNote?: string;
    isDisabled?: boolean;
    isOptionRecommended?: boolean;
}
export interface AutoCompleteSingleSelectFieldValue {
    defaultOptions: OptionType[];
    selectedOption?: string;
}
interface TooltipProp {
    sticky: boolean;
    text: string;
}
export interface AutoCompleteSingleSelectFieldProps {
    defaultValue: AutoCompleteSingleSelectFieldValue;
    name: string;
    additionalLabelInfo?: string;
    allowEmpty?: boolean;
    autoFocus?: boolean;
    customStyleConfig?: StylesConfig<OptionType, false>;
    isDisabled?: DisableMode;
    menuIsOpen?: boolean;
    menuPortal?: HTMLElement | null;
    placeholder?: string;
    registerOptions?: RegisterOptions;
    shouldShowChevronIcon?: boolean;
    showDownChevronWithValue?: boolean;
    showEmptyState?: boolean;
    style?: React.CSSProperties;
    tooltip?: TooltipProp;
    disableCurrentOption?: (option: string) => boolean;
    loadOptions?: (inputValue: string, callback: (defaultOptions: OptionType[]) => void) => void;
    onMenuClose?: () => void;
    valueToId?: (value: string) => ID | undefined;
    valueToInfo?: (value: string) => string;
}
export declare const AutoCompleteSingleSelectField: ({ name, registerOptions, defaultValue, isDisabled, style, autoFocus, menuIsOpen, onMenuClose, placeholder, valueToInfo, valueToId, customStyleConfig, showDownChevronWithValue, shouldShowChevronIcon, allowEmpty, menuPortal, disableCurrentOption, loadOptions, }: AutoCompleteSingleSelectFieldProps) => import("react/jsx-runtime").JSX.Element;
/**
 * internal Styled components
 */
export declare const CustomTooltip: ({ children, title, }: {
    children: string;
    title: string;
}) => import("react/jsx-runtime").JSX.Element;
export {};
