/// <reference types="react" />
import { DataSet } from '../../../../../../shared-logic/src/DataSet/types';
import { CustomField, RoundedNumberField } from '../../../../../../shared-logic/src/CustomField/types';
import { QueryEngineConfig } from '../../../../../../shared-logic/src/QueryEngineConfig/types';
export declare type MathType = 'simple' | 'aggregate';
import { InitValue } from '../../../../base/ListView/ListView';
import { ListViewItem } from '../../../../base/ListView/types';
export declare const useRoundedNumberBuilder: (initialValue: RoundedNumberField | undefined | null, queryEngineConfig: QueryEngineConfig, dataSet: DataSet, onNewCustomField: (customMetric: CustomField) => void) => {
    onCreateNewRoundedNumber: () => void;
    isEditing: boolean;
    metricName: string;
    setMetricName: import("react").Dispatch<import("react").SetStateAction<string>>;
    items: ListViewItem<any>[];
    initValues: InitValue<any>[];
    selected: {
        dataSetField: DataSet['fields'][number] | undefined;
        transformationFunctionKey: string | undefined;
    };
    setSelected: import("react").Dispatch<import("react").SetStateAction<{
        dataSetField: DataSet['fields'][number] | undefined;
        transformationFunctionKey: string | undefined;
    }>>;
    transformationFunctions: string[];
};
