/**
 * `GET /api/stats` — what this index is, and how much to trust it.
 *
 * The viewer's top bar shows a couple of numbers from here, but the reason the
 * endpoint carries more than that is honesty: an index can be truncated
 * (`state: "indexing"` after a killed run), built by an older extractor, or
 * simply old. A reader that draws confident graphs over a half-built index is
 * the failure mode worth designing against, so the state travels with the
 * counts rather than being something the UI has to ask for separately.
 */
import type { CodeGraph } from '../../index';
export interface WireBlastScale {
    /** Most distinct dependents any symbol in the index has. Exact — one query. */
    maxDirect: number;
    /** Widest depth-{@link BLAST_DEPTH} radius found across the sampled symbols. */
    maxWithinHops: number;
    hops: number;
    /** How many symbols were measured for `maxWithinHops`. */
    sampled: number;
    /** True whenever `maxWithinHops` came from a sample rather than every symbol. */
    estimated: boolean;
}
export declare function blastScaleFor(cg: CodeGraph, projectRoot: string, edgeCount: number): WireBlastScale;
/** Drop the memoised scale — for tests, which build a fresh index per case. */
export declare function resetBlastScaleCache(): void;
export declare function buildStats(cg: CodeGraph, projectRoot: string): unknown;
//# sourceMappingURL=stats.d.ts.map