/// <reference types="react" />
import { UseFieldArrayRemove } from 'react-hook-form';
import { Journey, PlayBookObject, SegmentType } from '@parlor/common';
import { UpdateItemOptions } from '../../utils';
import { IItem } from './item-components/utils';
export type JourneyItemsProps = {
    accountID?: string;
    accountOrUserType?: SegmentType | PlayBookObject;
    customHeaderItem?: JSX.Element;
    depth?: number;
    dueDateArray?: number[];
    editConditionPath?: () => void;
    externalJourney?: Journey;
    externalStartingID?: string;
    handleOpenAddJourneyItemModal?: (type: 'milestone' | 'conditionBranch') => void;
    hideRelations?: boolean;
    isAccountView?: boolean;
    isHideDropdowns?: boolean;
    isOverlayItem?: boolean;
    isPlaybook?: boolean;
    isPlaybookRecord?: boolean;
    items: IItem[];
    pathName?: string;
    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;
    userID?: string;
};
export declare const JourneyItems: ({ accountOrUserType, isPlaybook, isPlaybookRecord, userID, customHeaderItem, depth, items, accountID, isHideDropdowns, externalJourney, isAccountView, handleOpenAddJourneyItemModal, removeConditionPath, removeMilestone, editConditionPath, pathName, removeAchievement, removeActions, removeAutomations, dueDateArray, externalStartingID, queryBuilderVariant, playbookID, setDeletedItems, hideRelations, }: JourneyItemsProps) => JSX.Element;
export declare const NestedJourneyItems: ({ accountOrUserType, depth, items, accountID, externalJourney, isAccountView, isOverlayItem, searchTerm, removeConditionPath, removeMilestone, handleOpenAddJourneyItemModal, prefix: currentPrefix, editConditionPath, pathName, updateItemOptions, setDeletedItems, removeAchievement, playbookID, isPlaybook, queryBuilderVariant, removeActions, removeAutomations, userID, isPlaybookRecord, hideRelations, }: JourneyItemsProps) => JSX.Element;
