/******************************************************************************** * Copyright (c) 2026 CrossBreeze, EclipseSource and others. * * This program and the accompanying materials are made available under the * terms of the MIT License which is available in the project root. * * SPDX-License-Identifier: MIT ********************************************************************************/ import type { BrowserRuntimeReport } from '@hydranium/protocol'; /** * Capture the renderer runtime as a single-point {@link BrowserRuntimeReport} * (`after`-only — the live gauge read). Prefers the standardized * `performance.measureUserAgentSpecificMemory()` (precise, by type + container, but * requires cross-origin isolation and is rate-limited), falling back to Chrome's * coarse `performance.memory` (JS-heap gauge), then to `unavailable`. The two-point * CDP source (`nodes`/`jsEventListeners`/… + delta) is the e2e bridge's job. */ export declare function captureBrowserRuntime(): Promise; /** Render a {@link BrowserRuntimeReport} as a one-line summary for a channel / toast. */ export declare function formatBrowserRuntime(report: BrowserRuntimeReport): string; //# sourceMappingURL=browser-capture.d.ts.map