UNPKG

histoire

Version:

A fast story book powered by Vite

18 lines • 755 B
import type { Page } from 'playwright'; /** Bounded runtime telemetry belongs to one fresh page, never shared across jobs. */ export declare function createInspectionDiagnostics(sanitize: { root: string; secret?: string; }): { /** Attach before navigation to capture mount failures as well as ready previews. */ attach(page: Page): void; /** Copy retained rows, preventing callers from changing observer-owned state. */ snapshot: () => { entries: import("@histoire/protocol").HistoireRuntimeDiagnostic[]; droppedCount: number; truncated: boolean; }; /** Release event callbacks before browser teardown; repeated cleanup is harmless. */ close(): void; }; //# sourceMappingURL=diagnostics.d.ts.map