/** * Structured JSON logger for the gateway daemon. * Writes to stdout in foreground mode, or to a log file in daemon mode. */ export type LogLevel = 'debug' | 'info' | 'warn' | 'error'; export interface Logger { debug(message: string, extra?: Record): void; info(message: string, extra?: Record): void; warn(message: string, extra?: Record): void; error(message: string, extra?: Record): void; close(): void; } export interface LoggerOptions { /** Write to file instead of stdout/stderr */ logFile?: string; /** Minimum log level (default: 'info') */ level?: LogLevel; } export declare function createLogger(options?: LoggerOptions): Logger; export declare function getDefaultLogPath(): string; //# sourceMappingURL=logger.d.ts.map