import { type Explore } from '../types/explore';
import { type CompiledDimension, type CompiledField, type CompiledMetric, type Metric } from '../types/field';
import { type AdditionalMetric } from '../types/metricQuery';
import type { ParametersValuesMap } from '../types/parameters';
import { type ReplaceableCustomFields, type ReplaceableFieldMatchMap, type ReplaceCustomFields } from '../types/savedCharts';
/**
 * @deprecated Use `getDimensionMapFromTables` instead
 */
export declare const getDimensions: (explore: Explore) => CompiledDimension[];
export declare const getDimensionMapFromTables: (tables: Explore["tables"]) => Record<string, CompiledDimension>;
export declare const getDimensionsWithValidParameters: (explore: Explore, combinedParameters: ParametersValuesMap) => CompiledDimension[];
export declare const getMetrics: (explore: Explore) => CompiledMetric[];
export declare const getMetricsMapFromTables: (tables: Explore["tables"]) => Record<string, CompiledMetric>;
export declare const getMetricsWithValidParameters: (explore: Explore, combinedParameters: ParametersValuesMap) => CompiledMetric[];
export declare const getFields: (explore: Explore) => CompiledField[];
export declare function compareMetricAndCustomMetric({ metric, customMetric, }: {
    metric: Metric;
    customMetric: AdditionalMetric;
}): {
    isExactMatch: boolean;
    isSuggestedMatch: boolean;
};
export declare function findReplaceableCustomMetrics({ customMetrics, metrics, }: {
    customMetrics: AdditionalMetric[];
    metrics: Metric[];
}): ReplaceableFieldMatchMap;
export declare function convertReplaceableFieldMatchMapToReplaceFieldsMap(replaceableFieldMap: ReplaceableFieldMatchMap): ReplaceCustomFields[string]['customMetrics'];
export declare function convertReplaceableFieldMatchMapToReplaceCustomFields(replaceableCustomFields: ReplaceableCustomFields): ReplaceCustomFields;
//# sourceMappingURL=fields.d.ts.map