/** * ForensicsDataPanel, diagnostic data provider for the Forensics panel. * * Bridges the ForensicsRegistry into the panel subscription model, * following the same pattern as OpsPanel and TasksPanel. */ import type { ComponentConfig } from '../types.js'; import type { FailureReport } from '../../forensics/types.js'; import type { ForensicsRegistry } from '../../forensics/registry.js'; export declare class ForensicsDataPanel { private readonly _config; private readonly _registry; private readonly _subscribers; private _unsub; constructor(registry: ForensicsRegistry, config?: ComponentConfig); /** * Return all reports, newest first, capped at bufferLimit. */ getAll(): FailureReport[]; /** * Return the most recent report. */ latest(): FailureReport | null; /** * Return a report by ID. */ getById(id: string): FailureReport | undefined; /** * Subscribe to data changes. Returns an unsubscribe function. */ subscribe(callback: () => void): () => void; /** * Dispose the data panel, unsubscribing from the registry. */ dispose(): void; private _notify; } //# sourceMappingURL=forensics.d.ts.map