/** * * Wraps `decomposeSlices` with a thin observability layer that records * total wall time, codegraph call count, confidence distribution, and * input/output byte counts. The result is attached to the * DecompositionResult envelope only when `peaks slice decompose --benchmark` * is passed. * * The benchmark does NOT mutate the algorithm's output; it is pure * measurement. Codegraph call counting is achieved by wrapping the * caller-provided `codegraphRunner`. */ import type { DecomposeOptions, DecompositionResult, SliceBenchmark } from './slice-decompose-types.js'; export interface BenchmarkEnvelope { benchmark: SliceBenchmark; result: DecompositionResult; } export declare function decomposeSlicesWithBenchmark(rid: string, prdMarkdown: string, projectRoot: string, options?: DecomposeOptions): Promise;