import { DataSet as DataSetType } from '../DataSet/types';
import { AggregateMathField, AliasFieldType, ConditionalField, CustomField, DateCalculationField, MetricField, PercentageField, RoundedNumberField, RulesField, SimpleMathField } from '../CustomField/types';
import { QueryAttributes } from '../QueryAttributes/types';
import { QueryEngineConfig } from '../QueryEngineConfig/types';
import { Query } from '../Query/types';
import { CustomFieldCategory } from './types';
import { Params } from '../../../results-driver/src/types';
export declare const isSimpleMathField: (field: DataSetType.Field) => field is SimpleMathField;
export declare const isRoundedNumberField: (field: DataSetType.Field) => field is RoundedNumberField;
export declare const isAggregateMathField: (field: DataSetType.Field) => field is AggregateMathField;
export declare const isPercentageField: (field: DataSetType.Field) => field is PercentageField;
export declare const isRules: (field: DataSetType.Field) => field is RulesField;
export declare const isConditional: (field: DataSetType.Field) => field is ConditionalField;
export declare const isCustomBuildMetric: (field: DataSetType.Field) => field is MetricField;
export declare const isAliasField: (field: DataSetType.Field) => field is AliasFieldType;
export declare const isDateCalculation: (field: DataSetType.Field) => field is DateCalculationField;
export declare const getCustomFieldCategory: (field: CustomField) => CustomFieldCategory;
export declare const isCustomField: (field: DataSetType.Field) => field is CustomField;
/**
 * Converts a custom field definition to
 * a measure.
 */
export declare const toQueryMeasure: (measureAttribute: QueryAttributes.Measure, customField: CustomField, queryEngineConfig: QueryEngineConfig, dataSet: DataSetType, queryHasDimension: boolean, params: Params) => Query['measure'][number];
