/** * Spec 14 R6 — Blast Radius Impact Computation * * Estimates the impact of editing a set of functions using recursive CTE * traversal of the caller graph. Designed for the hook path: ≤100ms budget. * * Uses targeted traversal via SQLite recursive CTE — no full adjacency load. * Cost scales with the BFS neighborhood size, not the codebase size. * * If latency > 100ms, the feature ships disabled-by-default. */ import type Database from 'better-sqlite3'; import type { BlastRadiusImpact } from '../types.js'; declare const LATENCY_BUDGET_MS = 100; /** * Compute blast-radius impact for a set of edited function IDs. * * Uses a recursive CTE against `graph_cache` (falling back to * `function_calls` if cache is empty) to walk the caller graph upward. * * @param db - SQLite database handle * @param functionIds - IDs of edited/changed functions * @returns Impact estimate with latency measurement */ export declare function computeImpact(db: Database.Database, functionIds: number[]): BlastRadiusImpact; export { LATENCY_BUDGET_MS }; //# sourceMappingURL=blastRadius.d.ts.map