import { type AnalysisResultSnapshot, type ComparisonMetricKey, type EvidenceRef, type NormalizedMetricValue, type StandardComparisonMetricKey } from '../types/multiTraceComparison';
import type { AnalysisResultSnapshotRepository, SnapshotAccessScope } from './analysisResultSnapshotStore';
import type { QueryResult, TraceProcessorServiceQueryOptions } from './traceProcessorService';
export declare const BACKFILL_SUPPORTED_STANDARD_METRIC_KEYS: readonly StandardComparisonMetricKey[];
export interface StandardMetricBackfillTraceProcessor {
    query(traceId: string, sql: string, options?: TraceProcessorServiceQueryOptions): Promise<QueryResult>;
}
export interface BackfillStandardMetricsInput {
    snapshot: AnalysisResultSnapshot;
    metricKeys: ComparisonMetricKey[];
    traceProcessor: StandardMetricBackfillTraceProcessor;
    repository?: AnalysisResultSnapshotRepository;
    scope?: SnapshotAccessScope;
    queryOptions?: TraceProcessorServiceQueryOptions;
}
export interface BackfillStandardMetricsResult {
    snapshot: AnalysisResultSnapshot;
    metrics: NormalizedMetricValue[];
    evidenceRefs: EvidenceRef[];
    missingReasons: Record<string, string>;
}
export declare function backfillStandardMetrics(input: BackfillStandardMetricsInput): Promise<BackfillStandardMetricsResult>;
//# sourceMappingURL=standardMetricBackfillService.d.ts.map