/** * In-memory ring buffer for diagnostic log messages. * * Captures session management events (compaction, undo, diverged, resume) * and surfaces them via the telemetry API and dashboard. Replaces the need * for users to dig through stderr to report issues. */ import type { DiagnosticLog, IDiagnosticLogStore } from "./types"; export type { DiagnosticLog } from "./types"; export declare class MemoryDiagnosticLogStore implements IDiagnosticLogStore { private buffer; private head; private count; private readonly capacity; constructor(capacity?: number); log(entry: Omit): void; session(message: string, requestId?: string): void; lineage(message: string, requestId?: string): void; error(message: string, requestId?: string): void; getRecent(options?: { limit?: number; since?: number; category?: string; }): DiagnosticLog[]; clear(): void; } /** Singleton instance used by the proxy. */ export declare const diagnosticLog: MemoryDiagnosticLogStore; //# sourceMappingURL=logStore.d.ts.map