export interface LoggerLike { debug(message: string, data?: Record): void; info(message: string, data?: Record): void; warn(message: string, data?: Record): void; error(message: string, data?: Record): void; } /** Default logger: forwards to console.* (preserves pre-injection behavior). */ export declare const consoleLogger: LoggerLike; /** Silent logger: useful for tests and for hosts that capture output elsewhere. */ export declare const noopLogger: LoggerLike; /** * Install a process-wide default logger. Library modules that are not given an * explicit logger fall back to this, so a host can route all internal logs to * a structured sink (or silence them) with a single call. */ export declare function setDefaultLogger(logger: LoggerLike): void; /** Restore the console-backed default logger. */ export declare function resetDefaultLogger(): void; /** * Resolve the logger to use: an explicitly injected one wins, otherwise the * process-wide default. Call sites use `getLogger(opts?.logger).warn(...)`. */ export declare function getLogger(injected?: LoggerLike): LoggerLike; //# sourceMappingURL=logger.d.ts.map