lighthouse 9.5.0-dev.20230118 → 9.5.0-dev.20230119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/bin.d.ts +5 -0
- package/cli/cli-flags.d.ts +258 -0
- package/cli/commands/commands.d.ts +4 -0
- package/cli/commands/list-audits.d.ts +2 -0
- package/cli/commands/list-locales.d.ts +2 -0
- package/cli/commands/list-trace-categories.d.ts +2 -0
- package/cli/index.d.ts +3 -0
- package/cli/printer.d.ts +28 -0
- package/cli/run.d.ts +24 -0
- package/cli/sentry-prompt.d.ts +5 -0
- package/cli/test/smokehouse/config/exclusions.d.ts +12 -0
- package/cli/test/smokehouse/core-tests.d.ts +4 -0
- package/cli/test/smokehouse/frontends/back-compat-util.d.ts +16 -0
- package/cli/test/smokehouse/frontends/lib.d.ts +8 -0
- package/cli/test/smokehouse/frontends/node.d.ts +2 -0
- package/cli/test/smokehouse/frontends/smokehouse-bin.d.ts +3 -0
- package/cli/test/smokehouse/lib/child-process-error.d.ts +21 -0
- package/cli/test/smokehouse/lib/concurrent-mapper.d.ts +78 -0
- package/cli/test/smokehouse/lib/local-console.d.ts +33 -0
- package/cli/test/smokehouse/lighthouse-runners/bundle.d.ts +16 -0
- package/cli/test/smokehouse/lighthouse-runners/cli.d.ts +18 -0
- package/cli/test/smokehouse/lighthouse-runners/devtools.d.ts +23 -0
- package/cli/test/smokehouse/report-assert-test.d.ts +2 -0
- package/cli/test/smokehouse/report-assert.d.ts +50 -0
- package/cli/test/smokehouse/smokehouse.d.ts +35 -0
- package/cli/test/smokehouse/version-check-test.d.ts +2 -0
- package/cli/test/smokehouse/version-check.d.ts +15 -0
- package/core/audits/accessibility/accesskeys.d.ts +10 -0
- package/core/audits/accessibility/aria-allowed-attr.d.ts +10 -0
- package/core/audits/accessibility/aria-command-name.d.ts +10 -0
- package/core/audits/accessibility/aria-hidden-body.d.ts +10 -0
- package/core/audits/accessibility/aria-hidden-focus.d.ts +10 -0
- package/core/audits/accessibility/aria-input-field-name.d.ts +10 -0
- package/core/audits/accessibility/aria-meter-name.d.ts +10 -0
- package/core/audits/accessibility/aria-progressbar-name.d.ts +10 -0
- package/core/audits/accessibility/aria-required-attr.d.ts +10 -0
- package/core/audits/accessibility/aria-required-children.d.ts +10 -0
- package/core/audits/accessibility/aria-required-parent.d.ts +10 -0
- package/core/audits/accessibility/aria-roles.d.ts +10 -0
- package/core/audits/accessibility/aria-toggle-field-name.d.ts +10 -0
- package/core/audits/accessibility/aria-tooltip-name.d.ts +10 -0
- package/core/audits/accessibility/aria-treeitem-name.d.ts +10 -0
- package/core/audits/accessibility/aria-valid-attr-value.d.ts +10 -0
- package/core/audits/accessibility/aria-valid-attr.d.ts +10 -0
- package/core/audits/accessibility/axe-audit.d.ts +17 -0
- package/core/audits/accessibility/button-name.d.ts +10 -0
- package/core/audits/accessibility/bypass.d.ts +10 -0
- package/core/audits/accessibility/color-contrast.d.ts +10 -0
- package/core/audits/accessibility/definition-list.d.ts +10 -0
- package/core/audits/accessibility/dlitem.d.ts +10 -0
- package/core/audits/accessibility/document-title.d.ts +10 -0
- package/core/audits/accessibility/duplicate-id-active.d.ts +10 -0
- package/core/audits/accessibility/duplicate-id-aria.d.ts +10 -0
- package/core/audits/accessibility/form-field-multiple-labels.d.ts +10 -0
- package/core/audits/accessibility/frame-title.d.ts +10 -0
- package/core/audits/accessibility/heading-order.d.ts +10 -0
- package/core/audits/accessibility/html-has-lang.d.ts +10 -0
- package/core/audits/accessibility/html-lang-valid.d.ts +10 -0
- package/core/audits/accessibility/image-alt.d.ts +10 -0
- package/core/audits/accessibility/input-image-alt.d.ts +10 -0
- package/core/audits/accessibility/label.d.ts +10 -0
- package/core/audits/accessibility/link-name.d.ts +10 -0
- package/core/audits/accessibility/list.d.ts +10 -0
- package/core/audits/accessibility/listitem.d.ts +10 -0
- package/core/audits/accessibility/manual/custom-controls-labels.d.ts +8 -0
- package/core/audits/accessibility/manual/custom-controls-roles.d.ts +8 -0
- package/core/audits/accessibility/manual/focus-traps.d.ts +8 -0
- package/core/audits/accessibility/manual/focusable-controls.d.ts +8 -0
- package/core/audits/accessibility/manual/interactive-element-affordance.d.ts +8 -0
- package/core/audits/accessibility/manual/logical-tab-order.d.ts +8 -0
- package/core/audits/accessibility/manual/managed-focus.d.ts +8 -0
- package/core/audits/accessibility/manual/offscreen-content-hidden.d.ts +9 -0
- package/core/audits/accessibility/manual/use-landmarks.d.ts +8 -0
- package/core/audits/accessibility/manual/visual-order-follows-dom.d.ts +8 -0
- package/core/audits/accessibility/meta-refresh.d.ts +10 -0
- package/core/audits/accessibility/meta-viewport.d.ts +10 -0
- package/core/audits/accessibility/object-alt.d.ts +10 -0
- package/core/audits/accessibility/tabindex.d.ts +10 -0
- package/core/audits/accessibility/td-headers-attr.d.ts +10 -0
- package/core/audits/accessibility/th-has-data-cells.d.ts +10 -0
- package/core/audits/accessibility/valid-lang.d.ts +10 -0
- package/core/audits/accessibility/video-caption.d.ts +10 -0
- package/core/audits/audit.d.ts +150 -0
- package/core/audits/audit.js +1 -0
- package/core/audits/autocomplete.d.ts +36 -0
- package/core/audits/bf-cache.d.ts +21 -0
- package/core/audits/bootup-time.d.ts +26 -0
- package/core/audits/byte-efficiency/byte-efficiency-audit.d.ts +82 -0
- package/core/audits/byte-efficiency/duplicated-javascript.d.ts +52 -0
- package/core/audits/byte-efficiency/efficient-animated-content.d.ts +23 -0
- package/core/audits/byte-efficiency/legacy-javascript.d.ts +99 -0
- package/core/audits/byte-efficiency/modern-image-formats.d.ts +38 -0
- package/core/audits/byte-efficiency/offscreen-images.d.ts +75 -0
- package/core/audits/byte-efficiency/render-blocking-resources.d.ts +55 -0
- package/core/audits/byte-efficiency/total-byte-weight.d.ts +21 -0
- package/core/audits/byte-efficiency/unminified-css.d.ts +36 -0
- package/core/audits/byte-efficiency/unminified-javascript.d.ts +37 -0
- package/core/audits/byte-efficiency/unused-css-rules.d.ts +16 -0
- package/core/audits/byte-efficiency/unused-javascript.d.ts +27 -0
- package/core/audits/byte-efficiency/uses-long-cache-ttl.d.ts +61 -0
- package/core/audits/byte-efficiency/uses-optimized-images.d.ts +33 -0
- package/core/audits/byte-efficiency/uses-responsive-images-snapshot.d.ts +16 -0
- package/core/audits/byte-efficiency/uses-responsive-images.d.ts +45 -0
- package/core/audits/byte-efficiency/uses-text-compression.d.ts +14 -0
- package/core/audits/content-width.d.ts +17 -0
- package/core/audits/critical-request-chains.d.ts +44 -0
- package/core/audits/csp-xss.d.ts +51 -0
- package/core/audits/deprecations.d.ts +19 -0
- package/core/audits/diagnostics.d.ts +11 -0
- package/core/audits/dobetterweb/charset.d.ts +19 -0
- package/core/audits/dobetterweb/doctype.d.ts +21 -0
- package/core/audits/dobetterweb/dom-size.d.ts +26 -0
- package/core/audits/dobetterweb/geolocation-on-start.d.ts +16 -0
- package/core/audits/dobetterweb/inspector-issues.d.ts +45 -0
- package/core/audits/dobetterweb/js-libraries.d.ts +15 -0
- package/core/audits/dobetterweb/no-document-write.d.ts +16 -0
- package/core/audits/dobetterweb/notification-on-start.d.ts +16 -0
- package/core/audits/dobetterweb/password-inputs-can-be-pasted-into.d.ts +15 -0
- package/core/audits/dobetterweb/uses-http2.d.ts +69 -0
- package/core/audits/dobetterweb/uses-passive-event-listeners.d.ts +16 -0
- package/core/audits/errors-in-console.d.ts +31 -0
- package/core/audits/final-screenshot.d.ts +11 -0
- package/core/audits/font-display.d.ts +32 -0
- package/core/audits/image-aspect-ratio.d.ts +30 -0
- package/core/audits/image-size-responsive.d.ts +28 -0
- package/core/audits/installable-manifest.d.ts +118 -0
- package/core/audits/is-on-https.d.ts +23 -0
- package/core/audits/largest-contentful-paint-element.d.ts +14 -0
- package/core/audits/layout-shift-elements.d.ts +15 -0
- package/core/audits/lcp-lazy-loaded.d.ts +21 -0
- package/core/audits/long-tasks.d.ts +16 -0
- package/core/audits/main-thread-tasks.d.ts +11 -0
- package/core/audits/mainthread-work-breakdown.d.ts +28 -0
- package/core/audits/manual/manual-audit.d.ts +13 -0
- package/core/audits/manual/pwa-cross-browser.d.ts +12 -0
- package/core/audits/manual/pwa-each-page-has-url.d.ts +12 -0
- package/core/audits/manual/pwa-page-transitions.d.ts +12 -0
- package/core/audits/maskable-icon.d.ts +25 -0
- package/core/audits/metrics/cumulative-layout-shift.d.ts +21 -0
- package/core/audits/metrics/experimental-interaction-to-next-paint.d.ts +21 -0
- package/core/audits/metrics/first-contentful-paint-3g.d.ts +15 -0
- package/core/audits/metrics/first-contentful-paint.d.ts +25 -0
- package/core/audits/metrics/first-meaningful-paint.d.ts +28 -0
- package/core/audits/metrics/interactive.d.ts +31 -0
- package/core/audits/metrics/largest-contentful-paint.d.ts +25 -0
- package/core/audits/metrics/max-potential-fid.d.ts +23 -0
- package/core/audits/metrics/speed-index.d.ts +27 -0
- package/core/audits/metrics/total-blocking-time.d.ts +32 -0
- package/core/audits/metrics.d.ts +11 -0
- package/core/audits/multi-check-audit.d.ts +28 -0
- package/core/audits/network-requests.d.ts +11 -0
- package/core/audits/network-rtt.d.ts +15 -0
- package/core/audits/network-server-latency.d.ts +15 -0
- package/core/audits/no-unload-listeners.d.ts +16 -0
- package/core/audits/non-composited-animations.d.ts +21 -0
- package/core/audits/oopif-iframe-test-audit.d.ts +14 -0
- package/core/audits/performance-budget.d.ts +39 -0
- package/core/audits/predictive-perf.d.ts +11 -0
- package/core/audits/preload-fonts.d.ts +29 -0
- package/core/audits/preload-lcp-image.d.ts +67 -0
- package/core/audits/redirects.d.ts +33 -0
- package/core/audits/resource-summary.d.ts +16 -0
- package/core/audits/screenshot-thumbnails.d.ts +32 -0
- package/core/audits/script-elements-test-audit.d.ts +14 -0
- package/core/audits/script-treemap-data.d.ts +42 -0
- package/core/audits/seo/canonical.d.ts +51 -0
- package/core/audits/seo/crawlable-anchors.d.ts +16 -0
- package/core/audits/seo/font-size.d.ts +24 -0
- package/core/audits/seo/hreflang.d.ts +28 -0
- package/core/audits/seo/http-status-code.d.ts +16 -0
- package/core/audits/seo/is-crawlable.d.ts +38 -0
- package/core/audits/seo/link-text.d.ts +16 -0
- package/core/audits/seo/manual/structured-data.d.ts +12 -0
- package/core/audits/seo/meta-description.d.ts +16 -0
- package/core/audits/seo/plugins.d.ts +15 -0
- package/core/audits/seo/robots-txt.d.ts +18 -0
- package/core/audits/seo/tap-targets.d.ts +50 -0
- package/core/audits/server-response-time.d.ts +21 -0
- package/core/audits/service-worker.d.ts +46 -0
- package/core/audits/splash-screen.d.ts +37 -0
- package/core/audits/themed-omnibox.d.ts +42 -0
- package/core/audits/third-party-facades.d.ts +41 -0
- package/core/audits/third-party-summary.d.ts +58 -0
- package/core/audits/timing-budget.d.ts +43 -0
- package/core/audits/unsized-images.d.ts +39 -0
- package/core/audits/user-timings.d.ts +43 -0
- package/core/audits/uses-rel-preconnect.d.ts +37 -0
- package/core/audits/uses-rel-preload.d.ts +61 -0
- package/core/audits/valid-source-maps.d.ts +27 -0
- package/core/audits/viewport.d.ts +17 -0
- package/core/audits/violation-audit.d.ts +14 -0
- package/core/audits/work-during-interaction.d.ts +82 -0
- package/core/computed/computed-artifact.d.ts +15 -0
- package/core/computed/critical-request-chains.d.ts +40 -0
- package/core/computed/image-records.d.ts +24 -0
- package/core/computed/js-bundles.d.ts +13 -0
- package/core/computed/load-simulator.d.ts +28 -0
- package/core/computed/main-resource.d.ts +25 -0
- package/core/computed/main-thread-tasks.d.ts +15 -0
- package/core/computed/manifest-values.d.ts +24 -0
- package/core/computed/metrics/cumulative-layout-shift.d.ts +53 -0
- package/core/computed/metrics/first-contentful-paint-all-frames.d.ts +19 -0
- package/core/computed/metrics/first-contentful-paint.d.ts +15 -0
- package/core/computed/metrics/first-meaningful-paint.d.ts +15 -0
- package/core/computed/metrics/interactive.d.ts +61 -0
- package/core/computed/metrics/lantern-first-contentful-paint.d.ts +48 -0
- package/core/computed/metrics/lantern-first-meaningful-paint.d.ts +12 -0
- package/core/computed/metrics/lantern-interactive.d.ts +31 -0
- package/core/computed/metrics/lantern-largest-contentful-paint.d.ts +25 -0
- package/core/computed/metrics/lantern-max-potential-fid.d.ts +30 -0
- package/core/computed/metrics/lantern-metric.d.ts +78 -0
- package/core/computed/metrics/lantern-speed-index.d.ts +38 -0
- package/core/computed/metrics/lantern-total-blocking-time.d.ts +31 -0
- package/core/computed/metrics/largest-contentful-paint-all-frames.d.ts +20 -0
- package/core/computed/metrics/largest-contentful-paint.d.ts +15 -0
- package/core/computed/metrics/max-potential-fid.d.ts +15 -0
- package/core/computed/metrics/metric.d.ts +38 -0
- package/core/computed/metrics/navigation-metric.d.ts +16 -0
- package/core/computed/metrics/responsiveness.d.ts +87 -0
- package/core/computed/metrics/speed-index.d.ts +10 -0
- package/core/computed/metrics/tbt-utils.d.ts +18 -0
- package/core/computed/metrics/timing-summary.d.ts +46 -0
- package/core/computed/metrics/total-blocking-time.d.ts +23 -0
- package/core/computed/module-duplication.d.ts +37 -0
- package/core/computed/network-analysis.d.ts +20 -0
- package/core/computed/network-records.d.ts +15 -0
- package/core/computed/network-records.js +1 -0
- package/core/computed/page-dependency-graph.d.ts +88 -0
- package/core/computed/processed-navigation.d.ts +15 -0
- package/core/computed/processed-trace.d.ts +14 -0
- package/core/computed/resource-summary.d.ts +44 -0
- package/core/computed/screenshots.d.ts +20 -0
- package/core/computed/speedline.d.ts +15 -0
- package/core/computed/unused-css.d.ts +62 -0
- package/core/computed/unused-javascript-summary.d.ts +71 -0
- package/core/computed/user-timings.d.ts +31 -0
- package/core/computed/viewport-meta.d.ts +35 -0
- package/core/config/budget.d.ts +74 -0
- package/core/config/config-helpers.d.ts +94 -0
- package/core/config/config-plugin.d.ts +46 -0
- package/core/config/config.d.ts +28 -0
- package/core/config/constants.d.ts +86 -0
- package/core/config/default-config.d.ts +5 -0
- package/core/config/default-config.js +1 -0
- package/core/config/desktop-config.d.ts +5 -0
- package/core/config/desktop-config.js +1 -0
- package/core/config/experimental-config.d.ts +13 -0
- package/core/config/filters.d.ts +83 -0
- package/core/config/full-config.d.ts +9 -0
- package/core/config/lr-desktop-config.d.ts +4 -0
- package/core/config/lr-mobile-config.d.ts +9 -0
- package/core/config/metrics-to-audits.d.ts +19 -0
- package/core/config/perf-config.d.ts +9 -0
- package/core/config/validation.d.ts +77 -0
- package/core/gather/base-artifacts.d.ts +16 -0
- package/core/gather/base-gatherer.d.ts +72 -0
- package/core/gather/base-gatherer.js +2 -0
- package/core/gather/driver/dom.d.ts +20 -0
- package/core/gather/driver/environment.d.ts +35 -0
- package/core/gather/driver/execution-context.d.ts +101 -0
- package/core/gather/driver/execution-context.js +1 -7
- package/core/gather/driver/navigation.d.ts +33 -0
- package/core/gather/driver/network-monitor.d.ts +82 -0
- package/core/gather/driver/network.d.ts +10 -0
- package/core/gather/driver/prepare.d.ts +46 -0
- package/core/gather/driver/service-workers.d.ts +16 -0
- package/core/gather/driver/storage.d.ts +24 -0
- package/core/gather/driver/target-manager.d.ts +61 -0
- package/core/gather/driver/wait-for-condition.d.ts +116 -0
- package/core/gather/driver/wait-for-condition.js +3 -2
- package/core/gather/driver.d.ts +30 -0
- package/core/gather/fetcher.d.ts +63 -0
- package/core/gather/fetcher.js +2 -0
- package/core/gather/gatherers/accessibility.d.ts +23 -0
- package/core/gather/gatherers/anchor-elements.d.ts +10 -0
- package/core/gather/gatherers/bf-cache-failures.d.ts +43 -0
- package/core/gather/gatherers/cache-contents.d.ts +11 -0
- package/core/gather/gatherers/console-messages.d.ts +39 -0
- package/core/gather/gatherers/css-usage.d.ts +39 -0
- package/core/gather/gatherers/devtools-log-compat.d.ts +13 -0
- package/core/gather/gatherers/devtools-log.d.ts +48 -0
- package/core/gather/gatherers/dobetterweb/doctype.d.ts +10 -0
- package/core/gather/gatherers/dobetterweb/domstats.d.ts +10 -0
- package/core/gather/gatherers/dobetterweb/optimized-images.d.ts +61 -0
- package/core/gather/gatherers/dobetterweb/password-inputs-with-prevented-paste.d.ts +10 -0
- package/core/gather/gatherers/dobetterweb/response-compression.d.ts +30 -0
- package/core/gather/gatherers/dobetterweb/tags-blocking-first-paint.d.ts +53 -0
- package/core/gather/gatherers/full-page-screenshot.d.ts +35 -0
- package/core/gather/gatherers/gatherer.d.ts +46 -0
- package/core/gather/gatherers/global-listeners.d.ts +27 -0
- package/core/gather/gatherers/iframe-elements.d.ts +11 -0
- package/core/gather/gatherers/image-elements.d.ts +35 -0
- package/core/gather/gatherers/inputs.d.ts +10 -0
- package/core/gather/gatherers/inspector-issues.d.ts +38 -0
- package/core/gather/gatherers/installability-errors.d.ts +17 -0
- package/core/gather/gatherers/js-usage.d.ts +22 -0
- package/core/gather/gatherers/link-elements.d.ts +39 -0
- package/core/gather/gatherers/main-document-content.d.ts +27 -0
- package/core/gather/gatherers/meta-elements.d.ts +10 -0
- package/core/gather/gatherers/network-user-agent.d.ts +18 -0
- package/core/gather/gatherers/script-elements.d.ts +26 -0
- package/core/gather/gatherers/scripts.d.ts +27 -0
- package/core/gather/gatherers/seo/embedded-content.d.ts +10 -0
- package/core/gather/gatherers/seo/font-size.d.ts +131 -0
- package/core/gather/gatherers/seo/robots-txt.d.ts +10 -0
- package/core/gather/gatherers/seo/tap-targets.d.ts +21 -0
- package/core/gather/gatherers/service-worker.d.ts +16 -0
- package/core/gather/gatherers/source-maps.d.ts +50 -0
- package/core/gather/gatherers/stacks.d.ts +38 -0
- package/core/gather/gatherers/trace-compat.d.ts +13 -0
- package/core/gather/gatherers/trace-elements.d.ts +83 -0
- package/core/gather/gatherers/trace.d.ts +23 -0
- package/core/gather/gatherers/viewport-dimensions.d.ts +10 -0
- package/core/gather/gatherers/web-app-manifest.d.ts +32 -0
- package/core/gather/navigation-runner.d.ts +92 -0
- package/core/gather/runner-helpers.d.ts +39 -0
- package/core/gather/session.d.ts +50 -0
- package/core/gather/snapshot-runner.d.ts +10 -0
- package/core/gather/timespan-runner.d.ts +12 -0
- package/core/index.d.cts +4 -0
- package/core/index.d.ts +88 -0
- package/core/index.js +2 -0
- package/core/legacy/config/config.d.ts +107 -0
- package/core/legacy/config/legacy-default-config.d.ts +4 -0
- package/core/legacy/gather/connections/connection.d.ts +75 -0
- package/core/legacy/gather/connections/connection.js +1 -0
- package/core/legacy/gather/connections/cri.d.ts +27 -0
- package/core/legacy/gather/connections/raw.d.ts +20 -0
- package/core/legacy/gather/driver.d.ts +214 -0
- package/core/legacy/gather/driver.js +1 -0
- package/core/legacy/gather/gather-runner.d.ts +166 -0
- package/core/lib/arbitrary-equality-map.d.ts +47 -0
- package/core/lib/asset-saver.d.ts +101 -0
- package/core/lib/axe.d.ts +2 -0
- package/core/lib/bf-cache-strings.d.ts +121 -0
- package/core/lib/cdt/Common.d.ts +3 -0
- package/core/lib/cdt/Platform.d.ts +26 -0
- package/core/lib/cdt/SDK.d.ts +2 -0
- package/core/lib/cdt/generated/ParsedURL.d.ts +28 -0
- package/core/lib/cdt/generated/SourceMap.d.ts +100 -0
- package/core/lib/csp-evaluator.d.ts +41 -0
- package/core/lib/dependency-graph/base-node.d.ts +161 -0
- package/core/lib/dependency-graph/cpu-node.d.ts +34 -0
- package/core/lib/dependency-graph/cpu-node.js +1 -0
- package/core/lib/dependency-graph/network-node.d.ts +43 -0
- package/core/lib/dependency-graph/network-node.js +1 -0
- package/core/lib/dependency-graph/simulator/connection-pool.d.ts +58 -0
- package/core/lib/dependency-graph/simulator/connection-pool.js +1 -0
- package/core/lib/dependency-graph/simulator/dns-cache.d.ts +42 -0
- package/core/lib/dependency-graph/simulator/dns-cache.js +2 -0
- package/core/lib/dependency-graph/simulator/network-analyzer.d.ts +166 -0
- package/core/lib/dependency-graph/simulator/simulator-timing-map.d.ts +153 -0
- package/core/lib/dependency-graph/simulator/simulator-timing-map.js +2 -2
- package/core/lib/dependency-graph/simulator/simulator.d.ts +154 -0
- package/core/lib/dependency-graph/simulator/simulator.js +3 -2
- package/core/lib/dependency-graph/simulator/tcp-connection.d.ts +89 -0
- package/core/lib/deprecations-strings.d.ts +66 -0
- package/core/lib/emulation.d.ts +43 -0
- package/core/lib/i18n/i18n.d.ts +81 -0
- package/core/lib/icons.d.ts +22 -0
- package/core/lib/lantern-trace-saver.d.ts +20 -0
- package/core/lib/lh-env.d.ts +2 -0
- package/core/lib/lh-error.d.ts +328 -0
- package/core/lib/lh-trace-processor.d.ts +5 -0
- package/core/lib/manifest-parser.d.ts +186 -0
- package/core/lib/median-run.d.ts +17 -0
- package/core/lib/minification-estimator.d.ts +9 -0
- package/core/lib/minify-devtoolslog.d.ts +6 -0
- package/core/lib/minify-trace.d.ts +6 -0
- package/core/lib/navigation-error.d.ts +39 -0
- package/core/lib/network-recorder.d.ts +115 -0
- package/core/lib/network-request.d.ts +245 -0
- package/core/lib/network-request.js +1 -0
- package/core/lib/page-functions.d.ts +149 -0
- package/core/lib/proto-preprocessor.d.ts +13 -0
- package/core/lib/rect-helpers.d.ts +100 -0
- package/core/lib/script-helpers.d.ts +17 -0
- package/core/lib/sentry.d.ts +32 -0
- package/core/lib/stack-packs.d.ts +16 -0
- package/core/lib/statistics.d.ts +28 -0
- package/core/lib/tappable-rects.d.ts +8 -0
- package/core/lib/third-party-web.d.ts +32 -0
- package/core/lib/timing-trace-saver.d.ts +21 -0
- package/core/lib/tracehouse/cpu-profile-model.d.ts +228 -0
- package/core/lib/tracehouse/main-thread-tasks.d.ts +162 -0
- package/core/lib/tracehouse/main-thread-tasks.js +1 -0
- package/core/lib/tracehouse/task-groups.d.ts +66 -0
- package/core/lib/tracehouse/task-summary.d.ts +18 -0
- package/core/lib/tracehouse/trace-processor.d.ts +275 -0
- package/core/lib/traces/metric-trace-events.d.ts +65 -0
- package/core/lib/url-utils.d.ts +100 -0
- package/core/runner.d.ts +109 -0
- package/core/scoring.d.ts +26 -0
- package/core/user-flow.d.ts +106 -0
- package/core/user-flow.js +1 -0
- package/core/util.d.cts +230 -0
- package/eslint-local-rules.d.cts +6 -0
- package/esm-utils.d.ts +14 -0
- package/flow-report/api.d.ts +7 -0
- package/flow-report/clients/standalone.d.ts +7 -0
- package/flow-report/src/app.d.ts +11 -0
- package/flow-report/src/common.d.ts +20 -0
- package/flow-report/src/header.d.ts +10 -0
- package/flow-report/src/help-dialog.d.ts +10 -0
- package/flow-report/src/i18n/i18n.d.ts +209 -0
- package/flow-report/src/i18n/localized-strings.d.ts +9 -0
- package/flow-report/src/i18n/ui-strings.d.ts +48 -0
- package/flow-report/src/icons.d.ts +18 -0
- package/flow-report/src/sidebar/flow.d.ts +8 -0
- package/flow-report/src/sidebar/sidebar.d.ts +17 -0
- package/flow-report/src/summary/category.d.ts +19 -0
- package/flow-report/src/summary/summary.d.ts +18 -0
- package/flow-report/src/topbar.d.ts +15 -0
- package/flow-report/src/util.d.ts +30 -0
- package/flow-report/src/wrappers/category-score.d.ts +12 -0
- package/flow-report/src/wrappers/markdown.d.ts +10 -0
- package/flow-report/src/wrappers/report.d.ts +10 -0
- package/flow-report/src/wrappers/styles.d.ts +8 -0
- package/flow-report/test/app-test.d.ts +7 -0
- package/flow-report/test/common-test.d.ts +7 -0
- package/flow-report/test/flow-report-pptr-test.d.ts +7 -0
- package/flow-report/test/header-test.d.ts +7 -0
- package/flow-report/test/sample-flow.d.ts +7 -0
- package/flow-report/test/setup/env-setup.d.ts +11 -0
- package/flow-report/test/sidebar/flow-test.d.ts +7 -0
- package/flow-report/test/sidebar/sidebar-test.d.ts +7 -0
- package/flow-report/test/summary/category-test.d.ts +7 -0
- package/flow-report/test/summary/summary-test.d.ts +7 -0
- package/flow-report/test/topbar-test.d.ts +7 -0
- package/flow-report/test/util-test.d.ts +7 -0
- package/flow-report/test/wrappers/category-score-test.d.ts +7 -0
- package/flow-report/test/wrappers/markdown-test.d.ts +7 -0
- package/flow-report/tsconfig.json +1 -1
- package/package.json +5 -2
- package/report/clients/bundle.d.ts +6 -0
- package/report/clients/standalone.d.ts +2 -0
- package/report/generator/file-namer.d.ts +35 -0
- package/report/generator/flow-report-assets.d.ts +9 -0
- package/report/generator/report-assets.d.ts +8 -0
- package/report/generator/report-generator.d.ts +59 -0
- package/report/renderer/api.d.ts +31 -0
- package/report/renderer/category-renderer.d.ts +176 -0
- package/report/renderer/components.d.ts +10 -0
- package/report/renderer/crc-details-renderer.d.ts +73 -0
- package/report/renderer/details-renderer.d.ts +141 -0
- package/report/renderer/dom.d.ts +125 -0
- package/report/renderer/drop-down-menu.d.ts +70 -0
- package/report/renderer/element-screenshot-renderer.d.ts +79 -0
- package/report/renderer/features-util.d.ts +13 -0
- package/report/renderer/i18n.d.ts +106 -0
- package/report/renderer/logger.d.ts +47 -0
- package/report/renderer/open-tab.d.ts +19 -0
- package/report/renderer/performance-category-renderer.d.ts +56 -0
- package/report/renderer/pwa-category-renderer.d.ts +55 -0
- package/report/renderer/report-renderer.d.ts +57 -0
- package/report/renderer/report-ui-features.d.ts +71 -0
- package/report/renderer/snippet-renderer.d.ts +85 -0
- package/report/renderer/swap-locale-feature.d.ts +31 -0
- package/report/renderer/text-encoding.d.ts +26 -0
- package/report/renderer/topbar-features.d.ts +82 -0
- package/report/renderer/util.d.ts +230 -0
- package/report/test-assets/faux-psi.d.ts +34 -0
- package/report/types/augment-dom.d.ts +1 -1
- package/root.d.ts +3 -0
- package/shared/localization/format.d.ts +106 -0
- package/shared/localization/i18n-module.d.ts +4 -0
- package/shared/localization/locales.d.ts +7 -0
- package/shared/localization/swap-flow-locale.d.ts +6 -0
- package/shared/localization/swap-locale.d.ts +39 -0
- package/shared/type-verifiers.d.ts +23 -0
- package/third-party/axe/valid-langs.d.ts +9 -0
- package/types/artifacts.d.ts +40 -38
- package/types/audit.d.ts +6 -6
- package/types/config.d.ts +3 -3
- package/types/externs.d.ts +7 -3
- package/types/gatherer.d.ts +27 -21
- package/types/{cssstyle/index.d.ts → internal/cssstyle.d.ts} +0 -0
- package/types/{enquirer.d.ts → internal/enquirer.d.ts} +0 -0
- package/types/{es-main.d.ts → internal/es-main.d.ts} +0 -0
- package/types/internal/global.d.ts +15 -0
- package/types/{http-link-header/index.d.ts → internal/http-link-header.d.ts} +0 -0
- package/types/{jsonlint-mod.d.ts → internal/jsonlint-mod.d.ts} +0 -0
- package/types/{lighthouse-logger/index.d.ts → internal/lighthouse-logger.d.ts} +0 -0
- package/types/{lookup-closest-locale/index.d.ts → internal/lookup-closest-locale.d.ts} +3 -1
- package/types/{metaviewport-parser/index.d.ts → internal/metaviewport-parser.d.ts} +0 -0
- package/types/{node-fetch.d.ts → internal/node-fetch.d.ts} +0 -0
- package/types/{node.d.ts → internal/node.d.ts} +0 -0
- package/types/{parse-cache-control/index.d.ts → internal/parse-cache-control.d.ts} +0 -0
- package/types/{pretty-json-stringify/index.d.ts → internal/pretty-json-stringify.d.ts} +0 -0
- package/types/{query-selector.d.ts → internal/query-selector.d.ts} +1 -1
- package/types/{rollup-plugin-postprocess.d.ts → internal/rollup-plugin-postprocess.d.ts} +0 -0
- package/types/{smokehouse.d.ts → internal/smokehouse.d.ts} +3 -3
- package/types/{test.d.ts → internal/test.d.ts} +0 -0
- package/types/lh.d.ts +81 -0
- package/types/lh.js +13 -0
- package/types/lhr/audit-details.d.ts +2 -2
- package/types/lhr/audit-result.d.ts +2 -2
- package/types/lhr/flow-result.d.ts +1 -1
- package/types/lhr/lhr.d.ts +2 -2
- package/types/lhr/settings.d.ts +1 -1
- package/types/lhr/treemap.d.ts +2 -2
- package/types/protocol.d.ts +8 -3
- package/types/puppeteer.d.ts +11 -6
- package/types/user-flow.d.ts +14 -5
- package/types/global-lh.d.ts +0 -85
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { TotalBlockingTimeComputed as TotalBlockingTime };
|
|
2
|
+
declare const TotalBlockingTimeComputed: typeof TotalBlockingTime & {
|
|
3
|
+
request: (dependencies: import("../../index.js").Artifacts.MetricComputationDataInput, context: import("../../../types/utility-types.js").default.ImmutableObject<{
|
|
4
|
+
computedCache: Map<string, import("../../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
5
|
+
}>) => Promise<import("../../index.js").Artifacts.Metric | import("../../index.js").Artifacts.LanternMetric>;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* @fileoverview This audit determines Total Blocking Time.
|
|
9
|
+
|
|
10
|
+
* We define Blocking Time as any time interval in the loading timeline where task length exceeds
|
|
11
|
+
* 50ms. For example, if there is a 110ms main thread task, the last 60ms of it is blocking time.
|
|
12
|
+
* Total Blocking Time is the sum of all Blocking Time between First Contentful Paint and
|
|
13
|
+
* Interactive Time (TTI).
|
|
14
|
+
*
|
|
15
|
+
* This is a new metric designed to accompany Time to Interactive. TTI is strict and does not
|
|
16
|
+
* reflect incremental improvements to the site performance unless the improvement concerns the last
|
|
17
|
+
* long task. Total Blocking Time on the other hand is designed to be much more responsive
|
|
18
|
+
* to smaller improvements to main thread responsiveness.
|
|
19
|
+
*/
|
|
20
|
+
declare class TotalBlockingTime extends ComputedMetric {
|
|
21
|
+
}
|
|
22
|
+
import ComputedMetric from "./metric.js";
|
|
23
|
+
//# sourceMappingURL=total-blocking-time.d.ts.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export { ModuleDuplicationComputed as ModuleDuplication };
|
|
2
|
+
declare const ModuleDuplicationComputed: typeof ModuleDuplication & {
|
|
3
|
+
request: (dependencies: Pick<import("../index.js").Artifacts, "Scripts" | "SourceMaps">, context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
4
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
5
|
+
}>) => Promise<Map<string, {
|
|
6
|
+
scriptId: string;
|
|
7
|
+
scriptUrl: string;
|
|
8
|
+
resourceSize: number;
|
|
9
|
+
}[]>>;
|
|
10
|
+
};
|
|
11
|
+
declare class ModuleDuplication {
|
|
12
|
+
/**
|
|
13
|
+
* @param {string} source
|
|
14
|
+
*/
|
|
15
|
+
static normalizeSource(source: string): string;
|
|
16
|
+
/**
|
|
17
|
+
* @param {string} source
|
|
18
|
+
*/
|
|
19
|
+
static _shouldIgnoreSource(source: string): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* @param {Map<string, Array<{scriptId: string, resourceSize: number}>>} moduleNameToSourceData
|
|
22
|
+
*/
|
|
23
|
+
static _normalizeAggregatedData(moduleNameToSourceData: Map<string, Array<{
|
|
24
|
+
scriptId: string;
|
|
25
|
+
resourceSize: number;
|
|
26
|
+
}>>): void;
|
|
27
|
+
/**
|
|
28
|
+
* @param {Pick<LH.Artifacts, 'Scripts'|'SourceMaps'>} artifacts
|
|
29
|
+
* @param {LH.Artifacts.ComputedContext} context
|
|
30
|
+
*/
|
|
31
|
+
static compute_(artifacts: Pick<LH.Artifacts, 'Scripts' | 'SourceMaps'>, context: LH.Artifacts.ComputedContext): Promise<Map<string, {
|
|
32
|
+
scriptId: string;
|
|
33
|
+
scriptUrl: string;
|
|
34
|
+
resourceSize: number;
|
|
35
|
+
}[]>>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=module-duplication.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { NetworkAnalysisComputed as NetworkAnalysis };
|
|
2
|
+
declare const NetworkAnalysisComputed: typeof NetworkAnalysis & {
|
|
3
|
+
request: (dependencies: import("../index.js").DevtoolsLog, context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
4
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
5
|
+
}>) => Promise<import("../index.js").Artifacts.NetworkAnalysis>;
|
|
6
|
+
};
|
|
7
|
+
declare class NetworkAnalysis {
|
|
8
|
+
/**
|
|
9
|
+
* @param {Array<LH.Artifacts.NetworkRequest>} records
|
|
10
|
+
* @return {LH.Util.StrictOmit<LH.Artifacts.NetworkAnalysis, 'throughput'>}
|
|
11
|
+
*/
|
|
12
|
+
static computeRTTAndServerResponseTime(records: Array<LH.Artifacts.NetworkRequest>): LH.Util.StrictOmit<LH.Artifacts.NetworkAnalysis, 'throughput'>;
|
|
13
|
+
/**
|
|
14
|
+
* @param {LH.DevtoolsLog} devtoolsLog
|
|
15
|
+
* @param {LH.Artifacts.ComputedContext} context
|
|
16
|
+
* @return {Promise<LH.Artifacts.NetworkAnalysis>}
|
|
17
|
+
*/
|
|
18
|
+
static compute_(devtoolsLog: import("../index.js").DevtoolsLog, context: LH.Artifacts.ComputedContext): Promise<LH.Artifacts.NetworkAnalysis>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=network-analysis.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { NetworkRecordsComputed as NetworkRecords };
|
|
2
|
+
declare const NetworkRecordsComputed: typeof NetworkRecords & {
|
|
3
|
+
request: (dependencies: LH.DevtoolsLog, context: LH.Util.ImmutableObject<{
|
|
4
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
5
|
+
}>) => Promise<import("../lib/network-request.js").NetworkRequest[]>;
|
|
6
|
+
};
|
|
7
|
+
declare class NetworkRecords {
|
|
8
|
+
/**
|
|
9
|
+
* @param {LH.DevtoolsLog} devtoolsLog
|
|
10
|
+
* @return {Promise<Array<LH.Artifacts.NetworkRequest>>} networkRecords
|
|
11
|
+
*/
|
|
12
|
+
static compute_(devtoolsLog: LH.DevtoolsLog): Promise<Array<LH.Artifacts.NetworkRequest>>;
|
|
13
|
+
}
|
|
14
|
+
import * as LH from "../../types/lh.js";
|
|
15
|
+
//# sourceMappingURL=network-records.d.ts.map
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import * as LH from '../../types/lh.js';
|
|
7
8
|
import {makeComputedArtifact} from './computed-artifact.js';
|
|
8
9
|
import {NetworkRecorder} from '../lib/network-recorder.js';
|
|
9
10
|
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export { PageDependencyGraphComputed as PageDependencyGraph };
|
|
2
|
+
export type Node = import('../lib/dependency-graph/base-node.js').Node;
|
|
3
|
+
export type URLArtifact = Omit<LH.Artifacts['URL'], 'finalDisplayedUrl'>;
|
|
4
|
+
export type NetworkNodeOutput = {
|
|
5
|
+
nodes: Array<NetworkNode>;
|
|
6
|
+
idToNodeMap: Map<string, NetworkNode>;
|
|
7
|
+
urlToNodeMap: Map<string, Array<NetworkNode>>;
|
|
8
|
+
frameIdToNodeMap: Map<string, NetworkNode | null>;
|
|
9
|
+
};
|
|
10
|
+
declare const PageDependencyGraphComputed: typeof PageDependencyGraph & {
|
|
11
|
+
request: (dependencies: {
|
|
12
|
+
trace: LH.Trace;
|
|
13
|
+
devtoolsLog: import("../index.js").DevtoolsLog;
|
|
14
|
+
URL: LH.Artifacts['URL'];
|
|
15
|
+
}, context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
16
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
17
|
+
}>) => Promise<import("../lib/dependency-graph/base-node.js").Node>;
|
|
18
|
+
};
|
|
19
|
+
import { NetworkNode } from "../lib/dependency-graph/network-node.js";
|
|
20
|
+
declare class PageDependencyGraph {
|
|
21
|
+
/**
|
|
22
|
+
* @param {LH.Artifacts.NetworkRequest} record
|
|
23
|
+
* @return {Array<string>}
|
|
24
|
+
*/
|
|
25
|
+
static getNetworkInitiators(record: LH.Artifacts.NetworkRequest): Array<string>;
|
|
26
|
+
/**
|
|
27
|
+
* @param {Array<LH.Artifacts.NetworkRequest>} networkRecords
|
|
28
|
+
* @return {NetworkNodeOutput}
|
|
29
|
+
*/
|
|
30
|
+
static getNetworkNodeOutput(networkRecords: Array<LH.Artifacts.NetworkRequest>): NetworkNodeOutput;
|
|
31
|
+
/**
|
|
32
|
+
* @param {LH.Artifacts.ProcessedTrace} processedTrace
|
|
33
|
+
* @return {Array<CPUNode>}
|
|
34
|
+
*/
|
|
35
|
+
static getCPUNodes({ mainThreadEvents }: LH.Artifacts.ProcessedTrace): Array<CPUNode>;
|
|
36
|
+
/**
|
|
37
|
+
* @param {NetworkNode} rootNode
|
|
38
|
+
* @param {NetworkNodeOutput} networkNodeOutput
|
|
39
|
+
*/
|
|
40
|
+
static linkNetworkNodes(rootNode: NetworkNode, networkNodeOutput: NetworkNodeOutput): void;
|
|
41
|
+
/**
|
|
42
|
+
* @param {Node} rootNode
|
|
43
|
+
* @param {NetworkNodeOutput} networkNodeOutput
|
|
44
|
+
* @param {Array<CPUNode>} cpuNodes
|
|
45
|
+
*/
|
|
46
|
+
static linkCPUNodes(rootNode: Node, networkNodeOutput: NetworkNodeOutput, cpuNodes: Array<CPUNode>): void;
|
|
47
|
+
/**
|
|
48
|
+
* Removes the given node from the graph, but retains all paths between its dependencies and
|
|
49
|
+
* dependents.
|
|
50
|
+
* @param {Node} node
|
|
51
|
+
*/
|
|
52
|
+
static _pruneNode(node: Node): void;
|
|
53
|
+
/**
|
|
54
|
+
* @param {LH.Artifacts.ProcessedTrace} processedTrace
|
|
55
|
+
* @param {Array<LH.Artifacts.NetworkRequest>} networkRecords
|
|
56
|
+
* @param {URLArtifact} URL
|
|
57
|
+
* @return {Node}
|
|
58
|
+
*/
|
|
59
|
+
static createGraph(processedTrace: LH.Artifacts.ProcessedTrace, networkRecords: Array<LH.Artifacts.NetworkRequest>, URL: URLArtifact): Node;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @param {Node} rootNode
|
|
63
|
+
*/
|
|
64
|
+
static printGraph(rootNode: Node, widthInCharacters?: number): void;
|
|
65
|
+
/**
|
|
66
|
+
* Recalculate `artifacts.URL` for clients that don't provide it.
|
|
67
|
+
*
|
|
68
|
+
* @param {LH.DevtoolsLog} devtoolsLog
|
|
69
|
+
* @param {LH.Artifacts.NetworkRequest[]} networkRecords
|
|
70
|
+
* @param {LH.Artifacts.ProcessedTrace} processedTrace
|
|
71
|
+
* @return {URLArtifact}
|
|
72
|
+
*/
|
|
73
|
+
static getDocumentUrls(devtoolsLog: import("../index.js").DevtoolsLog, networkRecords: LH.Artifacts.NetworkRequest[], processedTrace: LH.Artifacts.ProcessedTrace): URLArtifact;
|
|
74
|
+
/**
|
|
75
|
+
* @param {{trace: LH.Trace, devtoolsLog: LH.DevtoolsLog, URL: LH.Artifacts['URL']}} data
|
|
76
|
+
* @param {LH.Artifacts.ComputedContext} context
|
|
77
|
+
* @return {Promise<Node>}
|
|
78
|
+
*/
|
|
79
|
+
static compute_(data: {
|
|
80
|
+
trace: LH.Trace;
|
|
81
|
+
devtoolsLog: import("../index.js").DevtoolsLog;
|
|
82
|
+
URL: LH.Artifacts['URL'];
|
|
83
|
+
}, context: LH.Artifacts.ComputedContext): Promise<Node>;
|
|
84
|
+
}
|
|
85
|
+
import { NetworkRequest } from "../lib/network-request.js";
|
|
86
|
+
import { ProcessedTrace } from "./processed-trace.js";
|
|
87
|
+
import { CPUNode } from "../lib/dependency-graph/cpu-node.js";
|
|
88
|
+
//# sourceMappingURL=page-dependency-graph.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { ProcessedNavigationComputed as ProcessedNavigation };
|
|
2
|
+
declare const ProcessedNavigationComputed: typeof ProcessedNavigation & {
|
|
3
|
+
request: (dependencies: import("../index.js").Trace, context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
4
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
5
|
+
}>) => Promise<import("../index.js").Artifacts.ProcessedNavigation>;
|
|
6
|
+
};
|
|
7
|
+
declare class ProcessedNavigation {
|
|
8
|
+
/**
|
|
9
|
+
* @param {LH.Trace} trace
|
|
10
|
+
* @param {LH.Artifacts.ComputedContext} context
|
|
11
|
+
* @return {Promise<LH.Artifacts.ProcessedNavigation>}
|
|
12
|
+
*/
|
|
13
|
+
static compute_(trace: LH.Trace, context: LH.Artifacts.ComputedContext): Promise<LH.Artifacts.ProcessedNavigation>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=processed-navigation.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { ProcessedTraceComputed as ProcessedTrace };
|
|
2
|
+
declare const ProcessedTraceComputed: typeof ProcessedTrace & {
|
|
3
|
+
request: (dependencies: import("../index.js").Trace, context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
4
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
5
|
+
}>) => Promise<import("../index.js").Artifacts.ProcessedTrace>;
|
|
6
|
+
};
|
|
7
|
+
declare class ProcessedTrace {
|
|
8
|
+
/**
|
|
9
|
+
* @param {LH.Trace} trace
|
|
10
|
+
* @return {Promise<LH.Artifacts.ProcessedTrace>}
|
|
11
|
+
*/
|
|
12
|
+
static compute_(trace: LH.Trace): Promise<LH.Artifacts.ProcessedTrace>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=processed-trace.d.ts.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export { ResourceSummaryComputed as ResourceSummary };
|
|
2
|
+
export type ResourceEntry = {
|
|
3
|
+
count: number;
|
|
4
|
+
resourceSize: number;
|
|
5
|
+
transferSize: number;
|
|
6
|
+
};
|
|
7
|
+
declare const ResourceSummaryComputed: typeof ResourceSummary & {
|
|
8
|
+
request: (dependencies: {
|
|
9
|
+
URL: LH.Artifacts['URL'];
|
|
10
|
+
devtoolsLog: import("../index.js").DevtoolsLog;
|
|
11
|
+
budgets: LH.Util.ImmutableObject<LH.Budget[] | null>;
|
|
12
|
+
}, context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
13
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
14
|
+
}>) => Promise<Record<import("../../types/lhr/budget.js").default.ResourceType, ResourceEntry>>;
|
|
15
|
+
};
|
|
16
|
+
/** @typedef {{count: number, resourceSize: number, transferSize: number}} ResourceEntry */
|
|
17
|
+
declare class ResourceSummary {
|
|
18
|
+
/**
|
|
19
|
+
* @param {LH.Artifacts.NetworkRequest} record
|
|
20
|
+
* @return {LH.Budget.ResourceType}
|
|
21
|
+
*/
|
|
22
|
+
static determineResourceType(record: LH.Artifacts.NetworkRequest): LH.Budget.ResourceType;
|
|
23
|
+
/**
|
|
24
|
+
* @param {Array<LH.Artifacts.NetworkRequest>} networkRecords
|
|
25
|
+
* @param {LH.Artifacts.URL} URLArtifact
|
|
26
|
+
* @param {LH.Util.ImmutableObject<LH.Budget[]|null>} budgets
|
|
27
|
+
* @return {Record<LH.Budget.ResourceType, ResourceEntry>}
|
|
28
|
+
*/
|
|
29
|
+
static summarize(networkRecords: Array<LH.Artifacts.NetworkRequest>, URLArtifact: LH.Artifacts.URL, budgets: LH.Util.ImmutableObject<LH.Budget[] | null>): Record<LH.Budget.ResourceType, ResourceEntry>;
|
|
30
|
+
/**
|
|
31
|
+
* @param {{URL: LH.Artifacts['URL'], devtoolsLog: LH.DevtoolsLog, budgets: LH.Util.ImmutableObject<LH.Budget[]|null>}} data
|
|
32
|
+
* @param {LH.Artifacts.ComputedContext} context
|
|
33
|
+
* @return {Promise<Record<LH.Budget.ResourceType,ResourceEntry>>}
|
|
34
|
+
*/
|
|
35
|
+
static compute_(data: {
|
|
36
|
+
URL: LH.Artifacts['URL'];
|
|
37
|
+
devtoolsLog: import("../index.js").DevtoolsLog;
|
|
38
|
+
budgets: LH.Util.ImmutableObject<LH.Budget[] | null>;
|
|
39
|
+
}, context: LH.Artifacts.ComputedContext): Promise<Record<LH.Budget.ResourceType, ResourceEntry>>;
|
|
40
|
+
}
|
|
41
|
+
import { Util } from "../util.cjs";
|
|
42
|
+
import { Budget } from "../config/budget.js";
|
|
43
|
+
import { NetworkRequest } from "../lib/network-request.js";
|
|
44
|
+
//# sourceMappingURL=resource-summary.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { ScreenshotsComputed as Screenshots };
|
|
2
|
+
declare const ScreenshotsComputed: typeof Screenshots & {
|
|
3
|
+
request: (dependencies: import("../index.js").Trace, context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
4
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
5
|
+
}>) => Promise<{
|
|
6
|
+
timestamp: number;
|
|
7
|
+
datauri: string;
|
|
8
|
+
}[]>;
|
|
9
|
+
};
|
|
10
|
+
declare class Screenshots {
|
|
11
|
+
/**
|
|
12
|
+
* @param {LH.Trace} trace
|
|
13
|
+
* @return {Promise<Array<{timestamp: number, datauri: string}>>}
|
|
14
|
+
*/
|
|
15
|
+
static compute_(trace: LH.Trace): Promise<Array<{
|
|
16
|
+
timestamp: number;
|
|
17
|
+
datauri: string;
|
|
18
|
+
}>>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=screenshots.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { SpeedlineComputed as Speedline };
|
|
2
|
+
declare const SpeedlineComputed: typeof Speedline & {
|
|
3
|
+
request: (dependencies: import("../index.js").Trace, context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
4
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
5
|
+
}>) => Promise<import("../index.js").Artifacts.Speedline>;
|
|
6
|
+
};
|
|
7
|
+
declare class Speedline {
|
|
8
|
+
/**
|
|
9
|
+
* @param {LH.Trace} trace
|
|
10
|
+
* @param {LH.Artifacts.ComputedContext} context
|
|
11
|
+
* @return {Promise<LH.Artifacts.Speedline>}
|
|
12
|
+
*/
|
|
13
|
+
static compute_(trace: LH.Trace, context: LH.Artifacts.ComputedContext): Promise<LH.Artifacts.Speedline>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=speedline.d.ts.map
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export { UnusedCSSComputed as UnusedCSS };
|
|
2
|
+
export type StyleSheetInfo = LH.Artifacts.CSSStyleSheetInfo & {
|
|
3
|
+
networkRecord: LH.Artifacts.NetworkRequest;
|
|
4
|
+
usedRules: Array<LH.Crdp.CSS.RuleUsage>;
|
|
5
|
+
};
|
|
6
|
+
declare const UnusedCSSComputed: typeof UnusedCSS & {
|
|
7
|
+
request: (dependencies: {
|
|
8
|
+
CSSUsage: LH.Artifacts['CSSUsage'];
|
|
9
|
+
devtoolsLog: import("../index.js").DevtoolsLog;
|
|
10
|
+
}, context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
11
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
12
|
+
}>) => Promise<import("../../types/audit.js").default.ByteEfficiencyItem[]>;
|
|
13
|
+
};
|
|
14
|
+
/** @typedef {LH.Artifacts.CSSStyleSheetInfo & {networkRecord: LH.Artifacts.NetworkRequest, usedRules: Array<LH.Crdp.CSS.RuleUsage>}} StyleSheetInfo */
|
|
15
|
+
declare class UnusedCSS {
|
|
16
|
+
/**
|
|
17
|
+
* @param {Array<LH.Artifacts.CSSStyleSheetInfo>} styles The output of the Styles gatherer.
|
|
18
|
+
* @param {Array<LH.Artifacts.NetworkRequest>} networkRecords
|
|
19
|
+
* @return {Object<string, StyleSheetInfo>} A map of styleSheetId to stylesheet information.
|
|
20
|
+
*/
|
|
21
|
+
static indexStylesheetsById(styles: Array<LH.Artifacts.CSSStyleSheetInfo>, networkRecords: Array<LH.Artifacts.NetworkRequest>): {
|
|
22
|
+
[x: string]: StyleSheetInfo;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Adds used rules to their corresponding stylesheet.
|
|
26
|
+
* @param {Array<LH.Crdp.CSS.RuleUsage>} rules The output of the CSSUsage gatherer.
|
|
27
|
+
* @param {Object<string, StyleSheetInfo>} indexedStylesheets Stylesheet information indexed by id.
|
|
28
|
+
*/
|
|
29
|
+
static indexUsedRules(rules: Array<LH.Crdp.CSS.RuleUsage>, indexedStylesheets: {
|
|
30
|
+
[x: string]: StyleSheetInfo;
|
|
31
|
+
}): void;
|
|
32
|
+
/**
|
|
33
|
+
* @param {StyleSheetInfo} stylesheetInfo
|
|
34
|
+
* @return {{wastedBytes: number, totalBytes: number, wastedPercent: number}}
|
|
35
|
+
*/
|
|
36
|
+
static computeUsage(stylesheetInfo: StyleSheetInfo): {
|
|
37
|
+
wastedBytes: number;
|
|
38
|
+
totalBytes: number;
|
|
39
|
+
wastedPercent: number;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Trims stylesheet content down to the first rule-set definition.
|
|
43
|
+
* @param {string=} content
|
|
44
|
+
* @return {string}
|
|
45
|
+
*/
|
|
46
|
+
static determineContentPreview(content?: string | undefined): string;
|
|
47
|
+
/**
|
|
48
|
+
* @param {StyleSheetInfo} stylesheetInfo The stylesheetInfo object.
|
|
49
|
+
* @return {LH.Audit.ByteEfficiencyItem}
|
|
50
|
+
*/
|
|
51
|
+
static mapSheetToResult(stylesheetInfo: StyleSheetInfo): LH.Audit.ByteEfficiencyItem;
|
|
52
|
+
/**
|
|
53
|
+
* @param {{CSSUsage: LH.Artifacts['CSSUsage'], devtoolsLog: LH.DevtoolsLog}} data
|
|
54
|
+
* @param {LH.Artifacts.ComputedContext} context
|
|
55
|
+
* @return {Promise<LH.Audit.ByteEfficiencyItem[]>}
|
|
56
|
+
*/
|
|
57
|
+
static compute_(data: {
|
|
58
|
+
CSSUsage: LH.Artifacts['CSSUsage'];
|
|
59
|
+
devtoolsLog: import("../index.js").DevtoolsLog;
|
|
60
|
+
}, context: LH.Artifacts.ComputedContext): Promise<LH.Audit.ByteEfficiencyItem[]>;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=unused-css.d.ts.map
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export { UnusedJavascriptSummaryComputed as UnusedJavascriptSummary };
|
|
2
|
+
export type WasteData = {
|
|
3
|
+
unusedByIndex: Uint8Array;
|
|
4
|
+
unusedLength: number;
|
|
5
|
+
contentLength: number;
|
|
6
|
+
};
|
|
7
|
+
export type ComputeInput = {
|
|
8
|
+
scriptId: string;
|
|
9
|
+
scriptCoverage: Omit<LH.Crdp.Profiler.ScriptCoverage, 'url'>;
|
|
10
|
+
bundle?: LH.Artifacts.Bundle | undefined;
|
|
11
|
+
};
|
|
12
|
+
export type Summary = {
|
|
13
|
+
scriptId: string;
|
|
14
|
+
wastedBytes: number;
|
|
15
|
+
totalBytes: number;
|
|
16
|
+
wastedPercent?: number | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Keyed by file name. Includes (unmapped) key too.
|
|
19
|
+
*/
|
|
20
|
+
sourcesWastedBytes?: Record<string, number> | undefined;
|
|
21
|
+
};
|
|
22
|
+
declare const UnusedJavascriptSummaryComputed: typeof UnusedJavascriptSummary & {
|
|
23
|
+
request: (dependencies: ComputeInput, context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
24
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
25
|
+
}>) => Promise<Summary>;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @typedef WasteData
|
|
29
|
+
* @property {Uint8Array} unusedByIndex
|
|
30
|
+
* @property {number} unusedLength
|
|
31
|
+
* @property {number} contentLength
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* @typedef ComputeInput
|
|
35
|
+
* @property {string} scriptId
|
|
36
|
+
* @property {Omit<LH.Crdp.Profiler.ScriptCoverage, 'url'>} scriptCoverage
|
|
37
|
+
* @property {LH.Artifacts.Bundle=} bundle
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* @typedef Summary
|
|
41
|
+
* @property {string} scriptId
|
|
42
|
+
* @property {number} wastedBytes
|
|
43
|
+
* @property {number} totalBytes
|
|
44
|
+
* @property {number} wastedBytes
|
|
45
|
+
* @property {number=} wastedPercent
|
|
46
|
+
* @property {Record<string, number>=} sourcesWastedBytes Keyed by file name. Includes (unmapped) key too.
|
|
47
|
+
*/
|
|
48
|
+
declare class UnusedJavascriptSummary {
|
|
49
|
+
/**
|
|
50
|
+
* @param {Omit<LH.Crdp.Profiler.ScriptCoverage, 'url'>} scriptCoverage
|
|
51
|
+
* @return {WasteData}
|
|
52
|
+
*/
|
|
53
|
+
static computeWaste(scriptCoverage: Omit<LH.Crdp.Profiler.ScriptCoverage, 'url'>): WasteData;
|
|
54
|
+
/**
|
|
55
|
+
* @param {string} scriptId
|
|
56
|
+
* @param {WasteData} wasteData
|
|
57
|
+
* @return {Summary}
|
|
58
|
+
*/
|
|
59
|
+
static createItem(scriptId: string, wasteData: WasteData): Summary;
|
|
60
|
+
/**
|
|
61
|
+
* @param {WasteData} wasteData
|
|
62
|
+
* @param {LH.Artifacts.Bundle} bundle
|
|
63
|
+
*/
|
|
64
|
+
static createSourceWastedBytes(wasteData: WasteData, bundle: LH.Artifacts.Bundle): Record<string, number> | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* @param {ComputeInput} data
|
|
67
|
+
* @return {Promise<Summary>}
|
|
68
|
+
*/
|
|
69
|
+
static compute_(data: ComputeInput): Promise<Summary>;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=unused-javascript-summary.d.ts.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { UserTimingsComputed as UserTimings };
|
|
2
|
+
export type MarkEvent = {
|
|
3
|
+
name: string;
|
|
4
|
+
isMark: true;
|
|
5
|
+
args: LH.TraceEvent['args'];
|
|
6
|
+
startTime: number;
|
|
7
|
+
};
|
|
8
|
+
export type MeasureEvent = {
|
|
9
|
+
name: string;
|
|
10
|
+
isMark: false;
|
|
11
|
+
args: LH.TraceEvent['args'];
|
|
12
|
+
startTime: number;
|
|
13
|
+
endTime: number;
|
|
14
|
+
duration: number;
|
|
15
|
+
};
|
|
16
|
+
declare const UserTimingsComputed: typeof UserTimings & {
|
|
17
|
+
request: (dependencies: import("../index.js").Trace, context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
18
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
19
|
+
}>) => Promise<(MarkEvent | MeasureEvent)[]>;
|
|
20
|
+
};
|
|
21
|
+
/** @typedef {{name: string, isMark: true, args: LH.TraceEvent['args'], startTime: number}} MarkEvent */
|
|
22
|
+
/** @typedef {{name: string, isMark: false, args: LH.TraceEvent['args'], startTime: number, endTime: number, duration: number}} MeasureEvent */
|
|
23
|
+
declare class UserTimings {
|
|
24
|
+
/**
|
|
25
|
+
* @param {LH.Trace} trace
|
|
26
|
+
* @param {LH.Artifacts.ComputedContext} context
|
|
27
|
+
* @return {Promise<Array<MarkEvent|MeasureEvent>>}
|
|
28
|
+
*/
|
|
29
|
+
static compute_(trace: LH.Trace, context: LH.Artifacts.ComputedContext): Promise<Array<MarkEvent | MeasureEvent>>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=user-timings.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export { ViewportMetaComputed as ViewportMeta };
|
|
2
|
+
export type ViewportMetaResult = {
|
|
3
|
+
/**
|
|
4
|
+
* Whether the page has any viewport tag.
|
|
5
|
+
*/
|
|
6
|
+
hasViewportTag: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Whether the viewport tag is optimized for mobile screens.
|
|
9
|
+
*/
|
|
10
|
+
isMobileOptimized: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Warnings if the parser encountered invalid content in the viewport tag.
|
|
13
|
+
*/
|
|
14
|
+
parserWarnings: Array<string>;
|
|
15
|
+
};
|
|
16
|
+
declare const ViewportMetaComputed: typeof ViewportMeta & {
|
|
17
|
+
request: (dependencies: {
|
|
18
|
+
name?: string | undefined;
|
|
19
|
+
content?: string | undefined;
|
|
20
|
+
property?: string | undefined;
|
|
21
|
+
httpEquiv?: string | undefined;
|
|
22
|
+
charset?: string | undefined;
|
|
23
|
+
node: import("../index.js").Artifacts.NodeDetails;
|
|
24
|
+
}[], context: import("../../types/utility-types.js").default.ImmutableObject<{
|
|
25
|
+
computedCache: Map<string, import("../lib/arbitrary-equality-map.js").ArbitraryEqualityMap>;
|
|
26
|
+
}>) => Promise<ViewportMetaResult>;
|
|
27
|
+
};
|
|
28
|
+
declare class ViewportMeta {
|
|
29
|
+
/**
|
|
30
|
+
* @param {LH.GathererArtifacts['MetaElements']} MetaElements
|
|
31
|
+
* @return {Promise<ViewportMetaResult>}
|
|
32
|
+
*/
|
|
33
|
+
static compute_(MetaElements: LH.GathererArtifacts['MetaElements']): Promise<ViewportMetaResult>;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=viewport-meta.d.ts.map
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export class Budget {
|
|
2
|
+
/**
|
|
3
|
+
* Asserts that obj has no own properties, throwing a nice error message if it does.
|
|
4
|
+
* `objectName` is included for nicer logging.
|
|
5
|
+
* @param {Record<string, unknown>} obj
|
|
6
|
+
* @param {string} objectName
|
|
7
|
+
*/
|
|
8
|
+
static assertNoExcessProperties(obj: Record<string, unknown>, objectName: string): void;
|
|
9
|
+
/**
|
|
10
|
+
* Asserts that `strings` has no duplicate strings in it, throwing an error if
|
|
11
|
+
* it does. `arrayName` is included for nicer logging.
|
|
12
|
+
* @param {Array<string>} strings
|
|
13
|
+
* @param {string} arrayName
|
|
14
|
+
*/
|
|
15
|
+
static assertNoDuplicateStrings(strings: Array<string>, arrayName: string): void;
|
|
16
|
+
/**
|
|
17
|
+
* @param {Record<string, unknown>} resourceBudget
|
|
18
|
+
* @return {LH.Budget.ResourceBudget}
|
|
19
|
+
*/
|
|
20
|
+
static validateResourceBudget(resourceBudget: Record<string, unknown>): LH.Budget.ResourceBudget;
|
|
21
|
+
/**
|
|
22
|
+
* @param {unknown} path
|
|
23
|
+
* @param {string} error
|
|
24
|
+
*/
|
|
25
|
+
static throwInvalidPathError(path: unknown, error: string): void;
|
|
26
|
+
/**
|
|
27
|
+
* Validates that path is either: a) undefined or ) properly formed.
|
|
28
|
+
* Verifies the quantity and location of the two robot.txt regex characters: $, *
|
|
29
|
+
* @param {unknown} path
|
|
30
|
+
* @return {undefined|string}
|
|
31
|
+
*/
|
|
32
|
+
static validatePath(path: unknown): undefined | string;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the budget that applies to a given URL.
|
|
35
|
+
* If multiple budgets match based on thier 'path' property,
|
|
36
|
+
* then the last-listed of those budgets is returned.
|
|
37
|
+
* @param {LH.Util.Immutable<Array<LH.Budget>>|null} budgets
|
|
38
|
+
* @param {string|undefined} url
|
|
39
|
+
* @return {LH.Util.Immutable<LH.Budget> | undefined} budget
|
|
40
|
+
*/
|
|
41
|
+
static getMatchingBudget(budgets: LH.Util.Immutable<Array<LH.Budget>> | null, url: string | undefined): LH.Util.Immutable<LH.Budget> | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Determines whether a URL matches against a robots.txt-style "path".
|
|
44
|
+
* Pattern should use the robots.txt format. E.g. "/*-article.html" or "/". Reference:
|
|
45
|
+
* https://developers.google.com/search/reference/robots_txt#url-matching-based-on-path-values
|
|
46
|
+
* @param {string} url
|
|
47
|
+
* @param {string=} pattern
|
|
48
|
+
* @return {boolean}
|
|
49
|
+
*/
|
|
50
|
+
static urlMatchesPattern(url: string, pattern?: string | undefined): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* @param {Record<string, unknown>} timingBudget
|
|
53
|
+
* @return {LH.Budget.TimingBudget}
|
|
54
|
+
*/
|
|
55
|
+
static validateTimingBudget(timingBudget: Record<string, unknown>): LH.Budget.TimingBudget;
|
|
56
|
+
/**
|
|
57
|
+
* @param {string} hostname
|
|
58
|
+
* @return {string}
|
|
59
|
+
*/
|
|
60
|
+
static validateHostname(hostname: string): string;
|
|
61
|
+
/**
|
|
62
|
+
* @param {unknown} hostnames
|
|
63
|
+
* @return {undefined|Array<string>}
|
|
64
|
+
*/
|
|
65
|
+
static validateHostnames(hostnames: unknown): undefined | Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
* More info on the Budget format:
|
|
68
|
+
* https://github.com/GoogleChrome/lighthouse/issues/6053#issuecomment-428385930
|
|
69
|
+
* @param {unknown} budgetJson
|
|
70
|
+
* @return {Array<LH.Budget>}
|
|
71
|
+
*/
|
|
72
|
+
static initializeBudget(budgetJson: unknown): Array<LH.Budget>;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=budget.d.ts.map
|