import type { SynthEvent, Transaction } from "../types/index.js"; export type TraceRecord = { traceId: string; transactionId: string; timestamp: number; actor: string; capability: string; duration: number; status: "success" | "error"; eventCount: number; error?: string; }; export declare class Tracer { private traces; private maxTraces; constructor(maxTraces?: number); trace(tx: Transaction, actor: string, capability: string, events: SynthEvent[], startTime: number): void; traceError(txId: string, actor: string, capability: string, error: Error, startTime: number): void; private addTrace; getTraces(): TraceRecord[]; getTracesForTransaction(txId: string): TraceRecord[]; getTracesForActor(actor: string): TraceRecord[]; getErrors(): TraceRecord[]; getStats(): { totalExecutions: number; successfulExecutions: number; failedExecutions: number; averageDuration: number; }; clear(): void; } export declare class Logger { private component; constructor(component: string); info(message: string, meta?: Record): void; warn(message: string, meta?: Record): void; error(message: string, meta?: Record): void; debug(message: string, meta?: Record): void; private log; }