import { RegisterOptions } from 'react-hook-form';
import { StylesConfig } from 'react-select';
import { User } from '@zeniai/client-epic-state';
import { DisableMode } from '../../../../../formElements/common/common';
import { NonUserOption, OptionType } from './UserMultiSelect';
export interface UserMultiSelectFieldValue {
    allNonUsers: NonUserOption[];
    allUsers: User[];
    selectedNonUsers: NonUserOption[];
    selectedUsers: User[];
}
export interface Props {
    hideEmailTooltip: boolean;
    name: string;
    shouldHaveBackgroundColor: boolean;
    showBackgroundColorIfHasAnySelectedOption: boolean;
    value: UserMultiSelectFieldValue;
    containerWidth?: string;
    customStyleConfig?: StylesConfig<OptionType, boolean>;
    disabledOptionHint?: string;
    hideMultiValueOnBlur?: boolean;
    isDisabled?: DisableMode;
    isListLoading?: boolean;
    menuMinWidth?: string;
    operator?: "or" | "and";
    placeholderLabel?: string;
    registerOptions?: RegisterOptions;
    disableCurrentOption?: (option: string) => boolean;
    onBlur?: () => void;
    valueToSubtitle?: (value: string) => (string | JSX.Element)[];
}
declare const UserMultiSelectField: ({ name, shouldHaveBackgroundColor, showBackgroundColorIfHasAnySelectedOption, hideEmailTooltip, placeholderLabel, registerOptions, value: defaultValue, operator, isListLoading, isDisabled, containerWidth, menuMinWidth, hideMultiValueOnBlur, customStyleConfig, disabledOptionHint, disableCurrentOption, onBlur, valueToSubtitle, }: Props) => import("react/jsx-runtime").JSX.Element;
export default UserMultiSelectField;
