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