export type LogLevel = 'info' | 'warn' | 'error' | 'debug'; export declare function redactSecrets(value: unknown, seen?: WeakSet, depth?: number): unknown; export declare class Logger { private static log; static info(message: string, data?: unknown, context?: Record): void; static warn(message: string, data?: unknown, context?: Record): void; static error(message: string, data?: unknown, context?: Record): void; static debug(message: string, data?: unknown, context?: Record): void; /** * 记录 API 请求 */ static logAPIRequest(method: string, url: string, params?: Record, duration?: number): void; /** * 记录 API 响应 */ static logAPIResponse(method: string, url: string, status: number, duration?: number, error?: string): void; /** * 记录 MCP 工具调用 */ static logToolCall(toolName: string, args?: Record, duration?: number): void; /** * 记录 MCP 工具结果 */ static logToolResult(toolName: string, success: boolean, duration?: number, error?: string): void; /** * 创建带上下文的新 Logger 实例 */ static withContext(context: Record): Logger; private context; constructor(context?: Record); info(message: string, data?: unknown): void; warn(message: string, data?: unknown): void; error(message: string, data?: unknown): void; debug(message: string, data?: unknown): void; } export declare const logger: typeof Logger; //# sourceMappingURL=logger.d.ts.map