UNPKG

@embrace-io/web-sdk

Version:
27 lines 1.22 kB
import { EmbraceInstrumentationBase } from "../../EmbraceInstrumentationBase/EmbraceInstrumentationBase.js"; import "../../EmbraceInstrumentationBase/index.js"; import { WebVitalsInstrumentationConfig } from "./types.js"; //#region src/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.ts declare class WebVitalsInstrumentation extends EmbraceInstrumentationBase { private readonly _listeners; private readonly _urlDocument; private readonly _urlAttribution; private readonly _includeRawAttribution; private readonly _softNavsActive; private readonly _pageManager; private readonly _attributedPage; private _largestShiftTargetForCLS; private _clsMetricId; private _applyCustomLogRecordData?; private _listenersRegistered; constructor({ diag, perf, listeners, urlDocument, urlAttribution, includeRawAttribution, reportSoftNavs, pageManager, applyCustomLogRecordData, ...config }?: WebVitalsInstrumentationConfig); onDisable(): void; enable(): void; onEnable(): void; private _currentAttributedPage; private _getTimeForMetric; private _emitWebVital; } //#endregion export { WebVitalsInstrumentation }; //# sourceMappingURL=WebVitalsInstrumentation.d.ts.map