{
  "slug": "lighthouse-typescript-consumers-can-import-public-types-from-lighthouse-types-js-f99a2efe8a20",
  "title": "Lighthouse TypeScript consumers can import public types from lighthouse/types.js",
  "tools": [
    "lighthouse"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-09T20:09:26.000Z",
  "announced_at": "2026-06-09T20:09:26.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When TypeScript code consuming Lighthouse needs the LH Audit namespace type, import it from the public type-only entrypoint `lighthouse/types.js`.",
    "examples": [
      "import type { Audit } from 'lighthouse/types.js';"
    ],
    "gotchas": [
      "Version: v13.4.0",
      "Audit (required): Type namespace re-exported from `types/lh.js` by the public type-only entrypoint."
    ]
  },
  "why_it_matters": "Import Lighthouse Audit types while implementing TypeScript code that consumes Lighthouse.",
  "before": "Import types such as `LH.Audit` from the nested `lighthouse/types/lh.js` path.",
  "sources": [
    "https://github.com/GoogleChrome/lighthouse/releases/tag/v13.4.0",
    "https://github.com/GoogleChrome/lighthouse/pull/17028",
    "https://github.com/GoogleChrome/lighthouse/blob/v13.4.0/types.js"
  ],
  "rank": 0.98024,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-84053933c5494ba2-3:gate",
    "evidence_hash": "cdca6f21ebf7bbd84504378eabd4b6c41437f084fae63471c8533fedeaede5e8"
  },
  "review": {
    "draft_hash": "5206467b1cc21ffcdd9ca9f3efae4f09987de591a21e3e8706ed1546d65959ee",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.69 (>= 0.6 needed)."
  }
}
