export type LogLevel = 'debug' | 'info' | 'warn' | 'error'; export interface LogEntry { ts: string; level: LogLevel; scope: string; msg: string; data?: Record; } export interface Logger { child(scope: string, context?: Record): Logger; debug(msg: string, data?: Record): void; info(msg: string, data?: Record): void; warn(msg: string, data?: Record): void; error(msg: string, data?: Record): void; setLevel(level: LogLevel): void; getLevel(): LogLevel; readonly scope: string; } export interface LoggerOptions { scope?: string; level?: LogLevel; json?: boolean; context?: Record; sink?: (entry: LogEntry) => void; sensitiveKeys?: readonly string[]; } export declare function redactSensitive(data: Record | undefined, sensitiveKeys?: readonly string[], depth?: number, seen?: WeakSet): Record | string | undefined; export declare function createLogger(opts?: LoggerOptions): Logger; export declare function configureRootLogger(opts?: LoggerOptions): void; export declare function getRootLogger(): Logger; //# sourceMappingURL=logger.d.ts.map