import type { DeterministicReplayEngine, ReplayEngineSnapshot } from '../../../core/deterministic-replay.js'; /** * ReplayPanel, diagnostics data provider for the deterministic replay view. * * Usage: * ```ts * const panel = new ReplayPanel(engine); * panel.subscribe(() => { * const snap = panel.getSnapshot(); * render(snap); * }); * ``` */ export declare class ReplayPanel { private readonly _engine; private readonly _subscribers; private _unsub; constructor(engine: DeterministicReplayEngine); /** * Get the current engine snapshot for rendering. */ getSnapshot(): ReplayEngineSnapshot; /** * Register a callback invoked whenever engine state changes. * @returns An unsubscribe function. */ subscribe(callback: () => void): () => void; /** * Release all subscriptions and disconnect from the engine. */ dispose(): void; private _notify; } //# sourceMappingURL=replay.d.ts.map