import type { NormalizedTranscript } from "../transcript/types.js"; import type { SparseIndex } from "../types/scoring.js"; /** * Build a deterministic sparse index from a normalized transcript. * Groups entries into interactions, classifies each, and produces compressed lines. * * Purely deterministic — no LLM calls, no side effects. */ export interface BuildSparseIndexOptions { /** Wall-clock timestamps of the agent process (ISO strings). When provided, used to compute startupMs/shutdownMs gaps. */ agentStartTime?: string; agentEndTime?: string; } export declare function buildSparseIndex(normalized: NormalizedTranscript, options?: BuildSparseIndexOptions): SparseIndex; /** * Populate the `content` field on each interaction with formatted entry content * for display in reports. Mutates interactions in-place. */ export declare function populateInteractionContent(sparseIndex: SparseIndex, normalized: NormalizedTranscript): void; //# sourceMappingURL=sparse-index.d.ts.map