import { BaseSyntheticEvent } from 'react';
import { BranchAssignmentType, ConditionBranch, ConditionPath, Milestone, PlayBookObject, SegmentType } from '@parlor/common';
import { IItem } from '../journey-items/item-components/utils';
export type AddConditionBranchFormValues = Pick<ConditionPath, 'id' | 'name' | 'assignmentType' | 'conditionBranches'> & {
    parentBranch?: Pick<ConditionBranch, 'id' | 'name'>;
    precedingMilestone?: Pick<Milestone, 'id' | 'name'>;
};
type AddConditionBranchModalProps = {
    branchOptions?: Partial<ConditionBranch>[];
    conditionPath?: ConditionPath;
    id?: string;
    milestoneOptions?: Partial<Milestone>[];
    onClose?: (e?: BaseSyntheticEvent) => void;
    onDelete?: () => Promise<void>;
    onSubmit?: (values: AddConditionBranchFormValues) => void;
    origin?: BranchAssignmentType;
    precedingItem?: Partial<ConditionBranch | Milestone>;
    queryBuilderVariant?: PlayBookObject | SegmentType;
    setDeletedItems?: (value: IItem) => void;
    variant?: 'playbook' | 'journey';
};
export declare const AddConditionBranchModal: ({ conditionPath, onClose, onSubmit, onDelete, origin, precedingItem, milestoneOptions, branchOptions, variant, queryBuilderVariant, setDeletedItems, }: AddConditionBranchModalProps) => JSX.Element;
export {};
