/// <reference types="react" />
import { UseFieldArrayAppend, UseFieldArrayInsert, UseFieldArrayRemove } from 'react-hook-form';
import { PlayBookObject, SegmentType } from '@parlor/common';
import { IItem } from '../../../journey-items/item-components/utils';
type ConditionBranchGroupsProps = {
    add: UseFieldArrayAppend<any, 'conditionBranches'>;
    fields: Record<string, any>[];
    insert: UseFieldArrayInsert<any, 'conditionBranches'>;
    queryBuilderVariant?: SegmentType | PlayBookObject;
    remove: UseFieldArrayRemove;
    setDeletedItems?: (item: IItem) => void;
};
export declare const ConditionBranchGroups: ({ fields, add, remove, insert, queryBuilderVariant, setDeletedItems, }: ConditionBranchGroupsProps) => JSX.Element;
export {};
