/** * Lightweight logger utility to avoid circular dependencies. * Can be imported anywhere (including config initialization) safely. * Provides level-based logging with optional namespace filtering. */ type LogLevel = 'debug' | 'info' | 'warn' | 'error'; interface LoggerOptions { namespace?: string; level?: LogLevel; } declare class AuthrixLogger { readonly namespace?: string; private level; constructor(opts?: LoggerOptions); setLevel(level: LogLevel): void; getLevel(): LogLevel; private shouldLog; private fmt; debug(...args: any[]): void; info(...args: any[]): void; warn(...args: any[]): void; structuredWarn(meta: { category: string; action: string; outcome?: string; message?: string; [k: string]: any; }): void; error(...args: any[]): void; } declare const logger: AuthrixLogger; declare function createLogger(namespace: string, level?: LogLevel): AuthrixLogger; declare function reconfigureLogger(level?: LogLevel): void; export { createLogger as c, logger as l, reconfigureLogger as r };