/**
 * BudgetBreachView — aggregates breach events across the corpus.
 *
 * Answers: which dimensions get hit most often? Which scenarios are
 * underbudgeted? Which variants trigger the most breaches?
 */
import type { BudgetSpec } from '../trace/schema';
import type { TraceStore } from '../trace/store';
export interface BudgetBreachFinding {
    runId: string;
    scenarioId: string;
    variantId?: string;
    dimension: keyof BudgetSpec;
    limit: number;
    consumed: number;
    excessRatio: number;
    timestamp: number;
}
export interface BudgetBreachReport {
    findings: BudgetBreachFinding[];
    byDimension: Record<string, number>;
    byScenario: Record<string, number>;
    byVariant: Record<string, number>;
    totalRuns: number;
    breachedRunRatio: number;
}
export declare function budgetBreachView(store: TraceStore, options?: {
    scenarioId?: string;
    variantId?: string;
}): Promise<BudgetBreachReport>;
//# sourceMappingURL=budget-breach.d.ts.map