export declare enum LogLevel { DEBUG = "DEBUG", INFO = "INFO", WARN = "WARN", ERROR = "ERROR" } export interface LogEntry { timestamp: string; level: LogLevel; message: string; data?: any; } export declare class Logger { private qwenDir; private logsDir; constructor(); private ensureDirectories; private formatLogEntry; private writeLog; private rotateLogIfNeeded; chatLog(userInput: string, aiResponse: string): void; apiCall(endpoint: string, method: string, payload?: any): void; apiResponse(endpoint: string, statusCode: number, response?: any, duration?: number): void; error(message: string, error?: Error | any): void; warn(message: string, data?: any): void; info(message: string, data?: any): void; debug(message: string, data?: any): void; command(command: string, args?: any): void; sessionStart(): void; sessionEnd(reason?: string): void; getRecentLogs(type: 'chat' | 'error' | 'debug', lines?: number): LogEntry[]; clearLogs(type?: 'chat' | 'error' | 'debug'): void; getLogDir(): string; getQwenDir(): string; } export declare const logger: Logger; //# sourceMappingURL=logger.d.ts.map