import { AcceptedTypes } from '../../../../shared-logic/src/CustomField/types';
import { PickerItem } from '../ItemPicker/ItemPicker';
import * as Types from '../../../../shared-logic/src/CustomField/CustomMetric/types';
import { DataSet } from '../../../../shared-logic/src/DataSet/types';
export declare function buildFieldsAndAggregates(value: Types.Operator | Types.IfLogic | Types.Aggregate, dataSet: DataSet, supportedTypes: AcceptedTypes[], parentHasAggregate?: boolean, parentHasField?: boolean): {
    updatedItems: PickerItem[];
    updatedParentHasAggregate: boolean;
    updatedParentHasField: any;
};
