import { IMetric, IMetricDisplayConfig, IEntityInfo, IExpression, IMetricEditorValues } from "../core/types/Metrics"; /** * Transforms the IConfigurationValues into an object with IMetric and IMetricDisplayConfig to be saved on an entity or rendered in the ui. * @param values IConfigurationValues for the arcgis-hub-metric-card to use * @param metricId what should be the id of the transformed metric * @param entityInfo what should be the entityInfo of the transformed metric * @returns IMetricCardParams */ export declare function editorToMetric(values: IMetricEditorValues, metricId: string, opts?: { metricName?: string; entityInfo?: IEntityInfo; }): { metric: IMetric; displayConfig: IMetricDisplayConfig; }; /** * Constructs a where clause from a given expression set. * * @param {Array} fields the available fields for a given dataset * @param {Object} values the selected values * * @returns {string} returns a string for the where clause query * * NOTE: currently returns string as a MATCH and everything else as BETWEEN */ export declare function buildWhereClause(expressionSet?: IExpression[]): string;