export interface DiagnosticErrorInfo { name?: string; message: string; stack?: string; code?: string | number; } export interface AssistantMessageDiagnostic { type: string; timestamp: number; error?: DiagnosticErrorInfo; details?: Record; } export declare function formatThrownValue(value: unknown): string; export declare function extractDiagnosticError(error: unknown): DiagnosticErrorInfo; export declare function createAssistantMessageDiagnostic(type: string, error: unknown, details?: Record): AssistantMessageDiagnostic; export declare function appendAssistantMessageDiagnostic(message: T, diagnostic: AssistantMessageDiagnostic): void; //# sourceMappingURL=diagnostics.d.ts.map