export interface BufferedEventEntry { occurred_at: string; level: 'info'; category: string; message: string; raw_line: string; pid: string; } export declare function onFlushThreshold(cb: (() => void) | null): void; export declare function recordEvent(eventType: string, raw: string): void; export declare function drainEvents(): BufferedEventEntry[];