export type DiagnosticLevel = "debug" | "info" | "warn" | "error"; export interface DiagnosticEvent { level: DiagnosticLevel; event: string; message: string; request_id?: string; tool?: string; details?: unknown; } export declare function writeDiagnostic(diagnostic: DiagnosticEvent): void;