export declare enum LogLevel { ERROR = 0, WARN = 1, INFO = 2, DEBUG = 3 } export interface LogEntry { timestamp: string; level: string; message: string; context: Record | undefined; error: { name: string; message: string; stack?: string; } | undefined; } export declare class Logger { private level; private format; constructor(level?: 'error' | 'warn' | 'info' | 'debug', format?: 'json' | 'text'); private shouldLog; private formatMessage; private log; error(message: string, context?: Record, error?: Error): void; warn(message: string, context?: Record): void; info(message: string, context?: Record): void; debug(message: string, context?: Record): void; child(context: Record): Logger; } //# sourceMappingURL=logger.d.ts.map