import type { LogLevel } from "./config.js"; export interface Logger { debug(msg: string, meta?: Record): void; info(msg: string, meta?: Record): void; warn(msg: string, meta?: Record): void; error(msg: string, meta?: Record): void; } /** * Minimal level-gated logger. Writes to **stderr** only — stdout is reserved for * the MCP JSON-RPC stream. Callers must never pass spec content, API keys, JWTs, * or request bodies as `msg`/`meta`; this logger does not attempt to parse specs * out of arbitrary strings, so the discipline lives at the call sites. */ export declare function createLogger(level?: LogLevel): Logger;