import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { TimelineEvent } = Protocol.PerformanceTimeline;
Properties
frameId: Page.FrameId
Identifies the frame that this event is related to. Empty for non-frame targets.
The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional "details" fiedls is present.
time: Network.TimeSinceEpoch
Time in seconds since Epoch, monotonically increasing within document lifetime.
optional
lcpDetails: LargestContentfulPaintoptional
layoutShiftDetails: LayoutShift