import type { Explore } from '../../types/explore';
import type { MetricQuery } from '../../types/metricQuery';
import { type PreAggregateMatchMiss } from '../../types/preAggregate';
export type PreAggregateMatchResult = {
    hit: true;
    preAggregateName: string;
    miss: null;
} | {
    hit: false;
    preAggregateName: null;
    miss: PreAggregateMatchMiss;
};
export declare const findMatch: (metricQuery: MetricQuery, explore: Explore) => PreAggregateMatchResult;
export declare const applyUserBypass: (matchResult: PreAggregateMatchResult, cacheEnabled: boolean) => PreAggregateMatchResult;
//# sourceMappingURL=matcher.d.ts.map