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