import type { EventBus } from './event-bus.js'; export interface EventLoggerOptions { /** Override for testing; production default is 1024. */ bufferSize?: number; /** Override log directory; production default is /logs/events. */ logDir?: string; } export interface EventLogger { /** Flush all buffered entries to disk. Called automatically by bus.close(). */ close(): Promise; } export declare function createEventLogger(bus: EventBus, opts?: EventLoggerOptions): EventLogger;