export interface TraceDecision { point: string; choice: string; reason: string; } export interface TraceMetric { name: string; value: number; unit?: string; } export interface TraceError { code: string; message: string; } export interface TraceExportData { operation: string; timestamp: string; durationMs: number; decisions: TraceDecision[]; metrics: TraceMetric[]; errors: TraceError[]; success: boolean; } /** * Lightweight execution trace used by coordination workflows. */ export declare class ExecutionTrace { private readonly operation; private readonly startedAt; private completedAt?; private readonly _decisions; private readonly _metrics; private readonly _errors; private _success; constructor(operation: string); recordDecision(point: string, choice: string, reason: string): void; recordMetric(name: string, value: number, unit?: string): void; recordError(code: string, message: string): void; complete(success: boolean): void; toJSON(): TraceExportData; } //# sourceMappingURL=execution-trace.d.ts.map