import { PickerThing } from '../ItemPicker/ItemPicker';
import * as Types from '../../../../shared-logic/src/CustomField/CustomMetric/types';
export declare function updateOperatorValue(value: Types.Operator, index: number, item: Types.Operator | Types.NumberInput | Types.Field | Types.Variable | Types.IfLogic | Types.Aggregate): {
    type: Types.PropertyType.Operator;
    op: Types.OperatorType;
    values: (Types.Operator | Types.IfLogic | Types.Aggregate | Types.NumberInput | Types.Field | Types.Variable)[];
};
export declare function deleteOperatorValue(value: Types.Operator, index: number): {
    type: Types.PropertyType.Operator;
    op: Types.OperatorType;
    values: (Types.Operator | Types.IfLogic | Types.Aggregate | Types.NumberInput | Types.Field | Types.Variable)[];
};
export declare function addToOperator(value: Types.Operator | Types.IfLogic | Types.NumberInput | Types.Field | Types.Variable | Types.Aggregate, selected: PickerThing | undefined): {
    type: Types.PropertyType.Operator;
    op: Types.OperatorType;
    values: (Types.Operator | Types.IfLogic | Types.Aggregate | Types.NumberInput | Types.Field | Types.Variable)[];
} | {
    type: Types.PropertyType.IfLogic;
    cases: {
        filter: import("../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[][];
        returns: Types.Operator | Types.IfLogic | Types.Aggregate | Types.NumberInput | Types.Field | Types.Variable | undefined;
    }[];
    else: Types.Operator | Types.IfLogic | Types.Aggregate | Types.NumberInput | Types.Field | Types.Variable | undefined;
} | {
    type: Types.PropertyType.Aggregate;
    fieldId: string;
    function?: string | undefined;
} | {
    type: Types.PropertyType.NumberInput;
    value: number | undefined;
} | {
    type: Types.PropertyType.Field;
    fieldId: string;
    function: string;
} | {
    type: Types.PropertyType.Variable;
    value: string;
};
export declare function addToIfStatement(selected: PickerThing | undefined): Types.Operator | Types.NumberInput | Types.Field | Types.Variable | Types.IfLogic | Types.Aggregate | undefined;
