import { BaseSyntheticEvent } from 'react';
import { BranchAssignmentType, ConditionBranch, Milestone } from '@parlor/common';
export type AddMilestoneFormValues = Pick<Milestone, 'id' | 'name' | 'assignmentType' | 'assignIfConditionMet' | 'delayTime' | 'condition' | 'completionType' | 'targetTime' | 'markStalledAfterDays'> & {
    parentBranch?: Pick<ConditionBranch, 'id' | 'name' | '__typename'>;
    parentMilestone?: Pick<Milestone, 'id' | 'name' | '__typename'>;
};
export type AddMilestoneModalProps = {
    branchOptions?: Partial<ConditionBranch>[];
    milestone?: Milestone;
    milestoneOptions?: Partial<Milestone>[];
    onClose?: (e?: BaseSyntheticEvent) => void;
    onSubmit?: (values: AddMilestoneFormValues) => void;
    origin?: BranchAssignmentType;
    precedingItem?: Partial<ConditionBranch | Milestone>;
};
export declare const AddMilestoneModal: ({ milestone, onClose, onSubmit, origin, precedingItem, milestoneOptions, branchOptions, }: AddMilestoneModalProps) => JSX.Element;
