export interface LogEntry { timestamp: number; level: 'debug' | 'info' | 'warn' | 'error'; source: string; message: string; } export declare class LogStream { private buffer; private listeners; private running; start(): void; stop(): void; onLog(callback: (entry: LogEntry) => void): void; emit(entry: LogEntry): void; log(level: LogEntry['level'], source: string, message: string): void; getBuffer(): LogEntry[]; clearBuffer(): void; } //# sourceMappingURL=log-stream.d.ts.map