/**
 * Structured logging module for Vaspera Hardening MCP
 *
 * All logs are written to stderr in JSON format to avoid interfering
 * with MCP protocol communication on stdout.
 */
interface LogContext {
    [key: string]: unknown;
}
interface Logger {
    debug(message: string, context?: LogContext): void;
    info(message: string, context?: LogContext): void;
    warn(message: string, context?: LogContext): void;
    error(message: string, context?: LogContext): void;
}
/**
 * Structured logger instance.
 *
 * All logs are written to stderr in JSON format. The log level can be
 * controlled via the VASPERA_LOG_LEVEL environment variable.
 *
 * @example
 * ```typescript
 * import { logger } from "./logger.js";
 *
 * logger.info("certification.started", { certId: "cert-123", agents: ["security", "reliability"] });
 * logger.error("certification.failed", { certId: "cert-123", error: "Agent timeout" });
 * ```
 */
export declare const logger: Logger;
/**
 * Create a child logger with preset context fields.
 *
 * @param baseContext - Context fields to include in all log entries
 * @returns A logger instance with the preset context
 *
 * @example
 * ```typescript
 * const certLogger = createChildLogger({ certId: "cert-123" });
 * certLogger.info("agent.started", { agent: "security" });
 * // Output: {"timestamp":"...","level":"info","message":"agent.started","certId":"cert-123","agent":"security"}
 * ```
 */
export declare function createChildLogger(baseContext: LogContext): Logger;
export {};
//# sourceMappingURL=logger.d.ts.map