import React from 'react';
import { UseFieldArrayRemove } from 'react-hook-form';
import { ConditionBranch, Journey, PlayBookObject, SegmentType } from '@parlor/common';
import { UpdateItemOptions } from '@parlor/components/journeys/utils';
import { IItem } from './utils';
export type ConditionBranchItemType = {
    accountID?: string;
    accountOrUserType?: PlayBookObject | SegmentType;
    depth: number;
    editConditionPath: () => void;
    externalJourney?: Journey;
    handleOpenAddJourneyItemModal: (type: 'milestone' | 'conditionBranch') => void;
    index: number;
    isAccountView?: boolean;
    isOverlayItem?: boolean;
    isPlaybook?: boolean;
    isPlaybookRecord: boolean;
    item: ConditionBranch;
    pathName?: string;
    playbookID?: string;
    prefix?: string;
    queryBuilderVariant: PlayBookObject | SegmentType;
    removeConditionPath: UseFieldArrayRemove;
    searchTerm?: string;
    setDeletedItems?: (value: IItem) => void;
    updateItemOptions?: UpdateItemOptions;
    updateXArrow?: () => void;
    userID: string;
};
export declare const ConditionBranchItem: React.ForwardRefExoticComponent<ConditionBranchItemType & React.RefAttributes<unknown>>;
