import { Descriptor, Expression, MappingFieldRef } from '../../state/index.js'; export declare function reducerAddGroup(state: Descriptor, productId: string, name: string): Descriptor; export declare function reducerAddGroups(state: Descriptor, fields: Array): Descriptor; export declare function reducerRemoveGroup(state: Descriptor, productId: string, name: string): Descriptor; export declare function reducerRemoveAllGroups(state: Descriptor): Descriptor; export declare function reducerSetGroupName(state: Descriptor, productId: string, oldName: string, newName: string): Descriptor; export declare function reducerSetGroupProductId(state: Descriptor, oldProductId: string, newProductId: string, name: string): Descriptor; /** * For aggregated fields, removes the groups corresponding to any "on" entry if it is an attribute. * For attribute fields, removes the groups corresponding to the "from"/"on" entry. */ export declare function reducerRemoveFieldFromGroups(state: Descriptor, field: Expression): Descriptor; export declare function _groupValidator(state: Descriptor, productId: string, name: string): void;