You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
582 B
10 lines
582 B
import { FCPReportCallback, MetricRatingThresholds, ReportOpts } from './types.js';
|
|
/** Thresholds for FCP. See https://web.dev/fcp/#what-is-a-good-fcp-score */
|
|
export declare const FCPThresholds: MetricRatingThresholds;
|
|
/**
|
|
* Calculates the [FCP](https://web.dev/fcp/) value for the current page and
|
|
* calls the `callback` function once the value is ready, along with the
|
|
* relevant `paint` performance entry used to determine the value. The reported
|
|
* value is a `DOMHighResTimeStamp`.
|
|
*/
|
|
export declare const onFCP: (onReport: FCPReportCallback, opts?: ReportOpts) => void;
|
|
|