/** * Trace Enrichment - Auto-enrich traces with computed data */ import type { AgentTrace } from './types'; export interface EnrichedMetadata { cost_usd: number; duration_ms: number; tool_count: number; llm_call_count: number; token_total: number; } /** * Compute enrichment data for a trace. */ export declare function computeEnrichment(trace: AgentTrace): EnrichedMetadata; /** * Enrich a single trace in-place and return it. */ export declare function enrichTrace(trace: AgentTrace): AgentTrace; /** * Enrich all trace files in a directory, writing back to disk. */ export declare function enrichTraceDir(dir: string): { enriched: number; errors: number; }; /** * Format enrichment results for console output. */ export declare function formatEnrichment(result: { enriched: number; errors: number; }): string; //# sourceMappingURL=enrich.d.ts.map