import { ConditionPath, Milestone } from '@parlor/common';
import { IItem } from '../components/journey-items/item-components/utils';
export declare const orderValuesByType: (values: (Milestone | ConditionPath)[]) => {
    normal: (Milestone | ConditionPath)[];
    completion: (Milestone | ConditionPath)[];
};
export declare const useHandleComplexFormUpdates: () => {
    handleFormUpdate: (value: IItem, prefix: string) => void;
    handleDnDEnd: (currentItem: IItem, overItem: IItem, prefix: string, dropPrefix: string) => void;
    getErrorMessage: (active: IItem, over: IItem) => string;
    serializeValuesByType: (values: (Milestone | ConditionPath)[]) => (Milestone | ConditionPath)[];
    orderValuesByType: (values: (Milestone | ConditionPath)[]) => {
        normal: (Milestone | ConditionPath)[];
        completion: (Milestone | ConditionPath)[];
    };
};
