/** * Debug logging utility for OpenCode Diff Plugin * * Provides leveled logging with environment variable control */ export type LogLevel = 'debug' | 'info' | 'warn' | 'error'; interface LogEntry { timestamp: string; level: LogLevel; component: string; message: string; data?: unknown; } export declare class DebugLogger { private static instance; private logLevel; private component; private logs; private maxLogs; private constructor(); static getInstance(component: string): DebugLogger; private detectLogLevel; setLogLevel(level: LogLevel): void; private shouldLog; private formatMessage; private addToHistory; debug(message: string, data?: unknown): void; info(message: string, data?: unknown): void; warn(message: string, data?: unknown): void; error(message: string, error?: Error | unknown): void; group(label: string): void; groupEnd(): void; getLogs(): LogEntry[]; clearLogs(): void; exportLogs(): string; } export declare function createLogger(component: string): DebugLogger; export declare function enableDebugMode(): void; export declare function disableDebugMode(): void; export {}; //# sourceMappingURL=debug.d.ts.map