UNPKG

lighthouse

Version:

Automated auditing, performance metrics, and best practices for the web.

31 lines 1.13 kB
export default InteractiveMetric; /** * @fileoverview This audit identifies the time the page is "consistently interactive". * Looks for the first period of at least 5 seconds after FCP where both CPU and network were quiet, * and returns the timestamp of the beginning of the CPU quiet period. * @see https://docs.google.com/document/d/1GGiI9-7KeY3TPqS3YT271upUVimo-XiL5mwWorDUD4c/edit# */ declare class InteractiveMetric extends Audit { /** * @return {{mobile: {scoring: LH.Audit.ScoreOptions}, desktop: {scoring: LH.Audit.ScoreOptions}}} */ static get defaultOptions(): { mobile: { scoring: LH.Audit.ScoreOptions; }; desktop: { scoring: LH.Audit.ScoreOptions; }; }; /** * @param {LH.Artifacts} artifacts * @param {LH.Audit.Context} context * @return {Promise<LH.Audit.Product>} */ static audit(artifacts: LH.Artifacts, context: LH.Audit.Context): Promise<LH.Audit.Product>; } export namespace UIStrings { let description: string; } import { Audit } from '../audit.js'; //# sourceMappingURL=interactive.d.ts.map