import { EventEmitter } from "node:events"; export interface LogLine { ts: string; level: string; msg: string; [key: string]: unknown; } /** * In-memory log fanout. The logger writes every line to stderr (for * Docker's log driver to pick up) AND appends it to this bus so the * dashboard's `/api/logs/stream` SSE endpoint can serve them live. * * The ring buffer keeps the last N lines so a newly-connected client * gets recent context without having to tail the container log file. */ export declare class LogBus extends EventEmitter { private readonly capacity; private readonly ring; constructor(capacity?: number); append(line: LogLine): void; recent(limit?: number): LogLine[]; } export declare function getSharedLogBus(): LogBus; //# sourceMappingURL=log-bus.d.ts.map