import { type Dispatch, type SetStateAction } from "react";
import type { Host, SettingsToggleClassNames, TeamMember } from '../lib/types';
import type { CheckedTeamSelectCustomClassNames } from "./CheckedTeamSelect";
interface IUserToValue {
    id: number | null;
    name: string | null;
    username: string | null;
    avatar: string;
    email: string;
    defaultScheduleId: number | null;
}
export declare const mapUserToValue: ({ id, name, username, avatar, email, defaultScheduleId }: IUserToValue, pendingString: string) => {
    value: string;
    label: string;
    avatar: string;
    email: string;
    defaultScheduleId: number | null;
};
export type AddMembersWithSwitchCustomClassNames = {
    assingAllTeamMembers?: SettingsToggleClassNames;
    teamMemberSelect?: CheckedTeamSelectCustomClassNames;
};
export type AddMembersWithSwitchProps = {
    teamMembers: TeamMember[];
    value: Host[];
    onChange: (hosts: Host[]) => void;
    assignAllTeamMembers: boolean;
    setAssignAllTeamMembers: Dispatch<SetStateAction<boolean>>;
    automaticAddAllEnabled: boolean;
    onActive: () => void;
    isFixed: boolean;
    placeholder?: string;
    isRRWeightsEnabled?: boolean;
    teamId: number;
    isSegmentApplicable?: boolean;
    "data-testid"?: string;
    customClassNames?: AddMembersWithSwitchCustomClassNames;
};
export declare function AddMembersWithSwitch({ teamMembers, value, onChange, assignAllTeamMembers, setAssignAllTeamMembers, automaticAddAllEnabled, onActive, isFixed, placeholder, isRRWeightsEnabled, teamId, isSegmentApplicable, customClassNames, ...rest }: AddMembersWithSwitchProps): JSX.Element;
declare const AddMembersWithSwitchWrapper: ({ containerClassName, ...props }: AddMembersWithSwitchProps & {
    containerClassName?: string;
}) => JSX.Element;
export default AddMembersWithSwitchWrapper;
//# sourceMappingURL=AddMembersWithSwitch.d.ts.map