/** * Debug Dashboard — Panel Store * * Holds the current state of every dashboard widget, keyed by id. An upsert * with an existing id overwrites that widget's value in place (the whole point * of the dashboard vs. the scrolling log). Plots keep a short ring of recent * samples so a freshly-connected viewer can draw the curve immediately. * * Sibling of log-buffer.ts (LogBuffer) — same singleton-state pattern. */ import { type PanelHttpEntry, type PanelWidget } from './panel-types.js'; export declare class PanelStore { private widgets; /** * Create or update a widget from an HTTP body. Returns the resulting * widget, or null if the body is invalid (missing/empty id or bad type). */ upsert(body: PanelHttpEntry): PanelWidget | null; /** One widget by id, or undefined if unknown. */ get(id: string): PanelWidget | undefined; /** All widgets — for a freshly-connected viewer (snapshot on connect). */ snapshot(): PanelWidget[]; /** Remove one widget (by id) or all (no id). Returns the cleared id, or null for "all". */ clear(id?: string): string | null; get size(): number; } //# sourceMappingURL=panel-store.d.ts.map