import type { CompiledDimension, CompiledMetric, FieldId } from '../../types/field';
export declare const getDimensionBaseName: (dimension: Pick<CompiledDimension, "name" | "timeIntervalBaseDimensionName">) => string;
export declare const getDimensionReferences: ({ dimension, baseTable, }: {
    dimension: Pick<CompiledDimension, "table" | "name" | "timeIntervalBaseDimensionName">;
    baseTable: string;
}) => string[];
export declare const getMetricReferences: ({ metric, baseTable, }: {
    metric: Pick<CompiledMetric, "table" | "name">;
    baseTable: string;
}) => string[];
export type PreAggregateMetricReferenceLookup = {
    fieldId: FieldId;
    metric: CompiledMetric;
};
export declare const getMetricsByReference: ({ tables, baseTable, }: {
    tables: Record<string, {
        metrics: Record<string, CompiledMetric>;
    }>;
    baseTable: string;
}) => Map<string, PreAggregateMetricReferenceLookup>;
//# sourceMappingURL=references.d.ts.map