{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "thread-list-web",
  "title": "Thread List (Web Components)",
  "description": "Threads grouped by date, or runs by Needs you, Running and Done, with one menu to rename, pin, share, archive and delete.",
  "dependencies": [
    "@kind-ui/agent-ui@0.9.0",
    "@ui-sdk/core@0.1.0-beta.17",
    "@ui-sdk/web@0.1.0-beta.17"
  ],
  "registryDependencies": [
    "@kind-ui/agent-ui-setup",
    "@kind-ui/internal-menu-web",
    "@kind-ui/internal-alert-dialog-web"
  ],
  "files": [
    {
      "path": "packages/agent-ui/src/web/thread-list.ts",
      "content": "import {\n  foldLabel,\n  type ThreadListApi,\n  type ThreadListEntry,\n  type ThreadListLoadReason,\n  type ThreadListMenuContentState,\n  type ThreadListOptions,\n  type ThreadListReason,\n  type ThreadListState,\n  type ThreadListSummaryState,\n  type ThreadListTimeState,\n  threadListPrimitive,\n  WORDS,\n} from \"@kind-ui/agent-ui/core\";\nimport type { ActionDetails, ChangeDetails } from \"@ui-sdk/core\";\nimport type { AlertDialogOpenChangeReason } from \"@ui-sdk/core/alert-dialog\";\nimport type { MenuOpenChangeReason } from \"@ui-sdk/core/menu\";\nimport { createParts, type UiActionDetail, wrappedButton, wrappedChild } from \"@ui-sdk/web\";\nimport type {\n  AttributeProperties,\n  UiChangeEvent,\n  UiDetailedChangeEvent,\n  UiElement,\n} from \"@ui-sdk/web/events\";\nimport { defineInternalAlertDialog } from \"./internal/alert-dialog\";\nimport { defineInternalMenu, menuElement as element, placeMenuChild as place } from \"./internal/menu\";\n\nconst DEFAULT_PARTS = `<kind-thread-list-new><button><span data-thread-list-icon=\"new\" aria-hidden=\"true\"></span>New chat</button></kind-thread-list-new><kind-thread-list-empty></kind-thread-list-empty><kind-thread-list-viewport><kind-thread-list-grid><div></div></kind-thread-list-grid><kind-thread-list-end></kind-thread-list-end></kind-thread-list-viewport><kind-thread-list-menu><kind-internal-menu><ui-menu><kind-thread-list-menu-content><ui-menu-content align=\"end\" side-offset=\"4\" data-agent-hidden></ui-menu-content></kind-thread-list-menu-content></ui-menu></kind-internal-menu></kind-thread-list-menu><kind-thread-list-dialog><kind-internal-alert-dialog><ui-alert-dialog><ui-alert-dialog-backdrop hidden></ui-alert-dialog-backdrop><ui-alert-dialog-content hidden><ui-alert-dialog-title></ui-alert-dialog-title><ui-alert-dialog-description></ui-alert-dialog-description><div data-thread-list-answers><kind-thread-list-dialog-error>Couldn't delete. Try again.</kind-thread-list-dialog-error><kind-thread-list-dialog-cancel><button>Cancel</button></kind-thread-list-dialog-cancel><kind-thread-list-dialog-delete><button>Delete</button></kind-thread-list-dialog-delete></div></ui-alert-dialog-content></ui-alert-dialog></kind-internal-alert-dialog></kind-thread-list-dialog>`;\n\n// Parts this element wrote into. A part someone wrote into keeps what they wrote, as React's children do. Kept across\n// instances, because UI SDK rebuilds one when the element returns to the page.\nconst owned = new WeakSet<Element>();\n\nconst ownedOrEmpty = (part: Element | null): part is Element => {\n  if (!part || !(owned.has(part) || !part.firstChild)) return false;\n  owned.add(part);\n  return true;\n};\n\nconst fill = (part: Element | null, text: string) => {\n  if (ownedOrEmpty(part) && part.textContent !== text) part.textContent = text;\n};\n\nconst write = <Target extends object, Key extends keyof Target>(\n  target: Target | null,\n  key: Key,\n  value: Target[Key],\n) => {\n  if (target && target[key] !== value) target[key] = value;\n};\n\n// A web popup's `finalFocus` is an attribute, a selector, so it can't hold core's function. The element that function\n// picks now carries a marker the selector names instead, one per list and popup, moved on every draw.\nconst FINAL_FOCUS = \"data-thread-list-final-focus\";\nlet lists = 0;\nconst marks = new WeakMap<Element, { id: number; menu?: Element | null; dialog?: Element | null }>();\n\nconst finalFocusSelector = (root: Element, popup: \"menu\" | \"dialog\", pick: () => HTMLElement | null) => {\n  let own = marks.get(root);\n  if (!own) {\n    own = { id: ++lists };\n    marks.set(root, own);\n  }\n  const name = `${own.id}-${popup}`;\n  const picked = pick();\n  const target = picked && root.contains(picked) ? picked : null;\n  if (own[popup] !== target) {\n    own[popup]?.removeAttribute(FINAL_FOCUS);\n    target?.setAttribute(FINAL_FOCUS, name);\n    own[popup] = target;\n  }\n  return `[${FINAL_FOCUS}=\"${name}\"]`;\n};\n\nconst newHeading = (document: Document, key: string) => {\n  const heading = element(document, \"kind-thread-list-heading\", { value: key });\n  heading.append(element(document, \"kind-thread-list-heading-cell\", { value: key }));\n  return heading;\n};\n\nconst newFold = (document: Document, key: string) => {\n  const button = element(document, \"button\");\n  const fold = element(document, \"kind-thread-list-fold\", { value: key });\n  fold.append(button);\n  const cell = element(document, \"kind-thread-list-fold-cell\", { value: key });\n  cell.append(fold);\n  const row = element(document, \"kind-thread-list-fold-row\", { value: key });\n  row.append(cell);\n  return row;\n};\n\n// Each row's time element and the state it was last drawn from.\nconst rowTimes = new WeakMap<Element, Element>();\nconst drawnTimes = new WeakMap<Element, ThreadListTimeState>();\nconst rowSummaries = new WeakMap<Element, Element>();\nconst drawnSummaries = new WeakMap<Element, ThreadListSummaryState>();\n\n/** \"Approval · Run `rm -rf dist`?\": the lead, then the summary with its code. */\nconst drawSummary = (row: Element, summary: ThreadListSummaryState) => {\n  const target = rowSummaries.get(row);\n  if (!target || drawnSummaries.get(target) === summary) return;\n  drawnSummaries.set(target, summary);\n  const document = target.ownerDocument;\n  const { lead, pieces } = summary;\n  target.replaceChildren(\n    lead,\n    lead && pieces.length ? \" · \" : \"\",\n    ...pieces.map((piece, index) => (index % 2 ? element(document, \"code\", {}, piece) : piece)),\n  );\n};\n\nconst drawTime = (row: Element, time: ThreadListTimeState) => {\n  const target = rowTimes.get(row);\n  if (!target || drawnTimes.get(target) === time) return;\n  drawnTimes.set(target, time);\n  if (target.textContent !== time.label) target.textContent = time.label;\n};\n\nconst newRow = (document: Document, id: string) => {\n  const anchor = element(document, \"a\");\n  anchor.append(\n    element(document, \"span\", { \"data-thread-list-title\": \"\" }),\n    element(document, \"kind-thread-list-status\", { value: id }),\n    element(document, \"kind-thread-list-unread\", { value: id }),\n  );\n  const summary = element(document, \"kind-thread-list-summary\", { value: id });\n  anchor.append(summary);\n  const link = element(document, \"kind-thread-list-link\", { value: id });\n  link.append(anchor);\n  const cell = element(document, \"kind-thread-list-link-cell\", { value: id });\n  const editor = element(document, \"kind-thread-list-editor\", { value: id });\n  editor.append(element(document, \"input\", { type: \"text\" }));\n  const time = element(document, \"kind-thread-list-time\", { value: id });\n  cell.append(link, editor, time);\n  // The shared icon button is written as the row is made, not by its part, so a new row costs no more writes.\n  const button = element(document, \"button\", { \"data-kind-icon-button\": \"\", \"data-kind-size\": \"sm\" });\n  button.append(element(document, \"span\", { \"data-thread-list-icon\": \"more\", \"aria-hidden\": \"true\" }));\n  const more = element(document, \"kind-thread-list-more\", { value: id });\n  more.append(button);\n  const unarchive = element(document, \"kind-thread-list-unarchive\", { value: id });\n  unarchive.append(element(document, \"button\"));\n  const moreCell = element(document, \"kind-thread-list-more-cell\", { value: id });\n  moreCell.append(more, unarchive);\n  const row = element(document, \"kind-thread-list-row\", { value: id });\n  row.append(cell, moreCell);\n  rowTimes.set(row, time);\n  rowSummaries.set(row, summary);\n  return row;\n};\n\n// The entry each row was last drawn from, so a redraw writes only rows that changed.\nconst drawnEntries = new WeakMap<Element, ThreadListEntry>();\n\n/** Writes a row's label, count or title, as text so no title is parsed as markup. */\nconst drawEntry = (row: Element, entry: ThreadListEntry) => {\n  if (drawnEntries.get(row) === entry) return;\n  drawnEntries.set(row, entry);\n  if (entry.type === \"heading\") {\n    const cell = row.querySelector(\":scope > kind-thread-list-heading-cell\");\n    if (!cell) return;\n    const count = entry.count === undefined ? \"\" : String(entry.count);\n    if (cell.textContent === (count ? `${entry.label} ${count}` : entry.label)) return;\n    cell.replaceChildren(\n      entry.label,\n      ...(count ? [\" \", element(cell.ownerDocument, \"span\", { \"data-thread-list-count\": \"\" }, count)] : []),\n    );\n    return;\n  }\n  if (entry.type === \"fold\") {\n    const button = row.querySelector(\"kind-thread-list-fold > button\");\n    const label = foldLabel(entry.count);\n    if (!button || button.textContent === label) return;\n    button.replaceChildren(\n      element(row.ownerDocument, \"span\", { \"data-thread-list-icon\": \"fold\", \"aria-hidden\": \"true\" }),\n      label,\n    );\n    return;\n  }\n  const text = row.querySelector(\"[data-thread-list-title]\");\n  if (text && text.textContent !== entry.thread.title) text.textContent = entry.thread.title;\n};\n\n// Each grid's row elements by key, so drawing reads no attributes.\nconst gridRows = new WeakMap<Element, Map<string, Element>>();\n\n/** Draws a heading or a row for each row in view, reusing each key's element and removing those that left. */\nconst drawRows = (grid: Element, state: ThreadListState, api: ThreadListApi) => {\n  const document = grid.ownerDocument;\n  const rows = gridRows.get(grid) ?? new Map<string, Element>();\n  gridRows.set(grid, rows);\n  const wanted = new Set(state.visible.map((item) => item.key));\n  // Rows that left go first, so the rest are already in order.\n  for (const [key, row] of rows) {\n    if (wanted.has(key)) continue;\n    row.remove();\n    rows.delete(key);\n  }\n  let previous: Element | null = null;\n  for (const item of state.visible) {\n    const entry = state.entries[item.key];\n    if (!entry) continue;\n    let row = rows.get(item.key);\n    if (!row) {\n      row =\n        entry.type === \"heading\"\n          ? newHeading(document, item.key)\n          : entry.type === \"fold\"\n            ? newFold(document, item.key)\n            : newRow(document, item.key);\n      rows.set(item.key, row);\n    }\n    drawEntry(row, entry);\n    if (entry.type === \"thread\") {\n      drawTime(row, api.timeState(state, item.key));\n      drawSummary(row, api.summaryState(state, item.key));\n      const unarchive = row.querySelector(\"kind-thread-list-unarchive > button\");\n      if (unarchive && !unarchive.firstChild) unarchive.textContent = WORDS.unarchive;\n    }\n    place(grid, row, previous ? previous.nextElementSibling : grid.firstElementChild);\n    previous = row;\n  }\n};\n\nconst drawnActions = new WeakMap<Element, ThreadListMenuContentState[\"actions\"]>();\n\n/** Draws a menu item for each action, reusing each value's element, so Pin turning into Unpin keeps the highlight. */\nconst drawActions = (content: Element, actions: ThreadListMenuContentState[\"actions\"]) => {\n  if (drawnActions.get(content) === actions) return;\n  drawnActions.set(content, actions);\n  const document = content.ownerDocument;\n  const items = new Map<string, Element>();\n  for (const item of content.querySelectorAll(\":scope > ui-menu-item\"))\n    items.set(item.getAttribute(\"value\") ?? \"\", item);\n  let previous: Element | null = null;\n  for (const action of actions) {\n    let item = items.get(action.value);\n    items.delete(action.value);\n    if (!item) {\n      item = element(document, \"ui-menu-item\", { value: action.value });\n      item.toggleAttribute(\"data-destructive\", action.value === \"delete\");\n    }\n    if (item.textContent !== action.label)\n      item.replaceChildren(\n        element(document, \"span\", { \"data-thread-list-icon\": action.value, \"aria-hidden\": \"true\" }),\n        action.label,\n      );\n    place(content, item, previous ? previous.nextElementSibling : content.firstElementChild);\n    previous = item;\n  }\n  for (const item of items.values()) item.remove();\n};\n\nconst drawnStatus = new WeakMap<Element, ThreadListState[\"loadStatus\"]>();\n\n/** \"Loading more chats\" with a running mark, or \"Couldn't load more chats\" and Retry. */\nconst drawEnd = (end: Element | null, status: ThreadListState[\"loadStatus\"]) => {\n  if (!ownedOrEmpty(end) || drawnStatus.get(end) === status) return;\n  drawnStatus.set(end, status);\n  const document = end.ownerDocument;\n  if (status === \"loading\") {\n    end.replaceChildren(\n      element(document, \"span\", { \"aria-hidden\": \"true\", \"data-status-mark\": \"\", \"data-status\": \"running\" }),\n      \"Loading more chats\",\n    );\n  } else if (status === \"error\") {\n    const retry = element(document, \"kind-thread-list-retry\");\n    retry.append(element(document, \"button\", {}, \"Retry\"));\n    end.replaceChildren(\"Couldn't load more chats\", retry);\n  }\n};\n\ntype MenuElement = Element & { controller?: unknown; presentation?: unknown; open?: boolean };\ntype FocusElement = Element & { initialFocus?: unknown; finalFocus?: unknown };\ntype DialogElement = Element & { controller?: unknown; dismissible?: boolean };\n\n/**\n * `<kind-thread-list>` fills in its parts when it has no children and draws the rows in view into its grid. Set\n * `threads` (and `groupLabels`) as properties. Callbacks are events, each offered by its attribute: `can-select`\n * (`threadselect`, cancel it to route without following the link), `can-new` (`threadnew`), `can-rename`\n * (`threadrename`, with the title as `detail.title`), `can-pin` (`pinchange`), `can-share` (`threadshare`),\n * `can-archive` (`threadarchive`), `can-unarchive` (`threadunarchive`), `can-delete` (`threaddelete`) and\n * `can-load-more` (`loadmore`). Call `event.detail.waitUntil(promise)` on `threadrename` and `threaddelete` to lock\n * renaming, or keep the dialog open, until it settles, and on `threadarchive` and `threadunarchive` to bring the\n * thread back if it rejects.\n */\nexport function defineThreadList(): void {\n  if (customElements.get(\"kind-thread-list\")) return;\n  defineInternalMenu();\n  defineInternalAlertDialog();\n  createParts(threadListPrimitive, {\n    root: {\n      tag: \"kind-thread-list\",\n      // Without it, `confirmDelete = false` reads as a missing attribute, which is the default `true`.\n      defaults: { confirmDelete: true },\n      kinds: {\n        canSelect: \"boolean\",\n        canNew: \"boolean\",\n        canRename: \"boolean\",\n        canPin: \"boolean\",\n        canShare: \"boolean\",\n        canArchive: \"boolean\",\n        canUnarchive: \"boolean\",\n        canDelete: \"boolean\",\n        canLoadMore: \"boolean\",\n      },\n      // Without the attribute the callback is left out; with it, `@ui-sdk/web` fills it in with an event.\n      options: (el) => {\n        const {\n          canSelect,\n          canNew,\n          canRename,\n          canPin,\n          canShare,\n          canArchive,\n          canUnarchive,\n          canDelete,\n          canLoadMore,\n        } = el as KindThreadListElement;\n        return {\n          ...(!canSelect && { onSelect: undefined }),\n          ...(!canNew && { onNew: undefined }),\n          ...(!canRename && { onRename: undefined }),\n          ...(!canPin && { onPinChange: undefined }),\n          ...(!canShare && { onShare: undefined }),\n          ...(!canArchive && { onArchive: undefined }),\n          ...(!canUnarchive && { onUnarchive: undefined }),\n          ...(!canDelete && { onDelete: undefined }),\n          ...(!canLoadMore && { onLoadMore: undefined }),\n        };\n      },\n      // Native `select` bubbles from the rename field, and the inner menu and dialog fire events of their own.\n      events: {\n        onSelect: \"threadselect\",\n        onNew: \"threadnew\",\n        onRename: \"threadrename\",\n        onPinChange: \"pinchange\",\n        onShare: \"threadshare\",\n        onArchive: \"threadarchive\",\n        onUnarchive: \"threadunarchive\",\n        onDelete: \"threaddelete\",\n        onLoadMore: \"loadmore\",\n      },\n      render: (el, instance) => {\n        if (!el.firstElementChild) el.innerHTML = DEFAULT_PARTS;\n        const api = instance.api as ThreadListApi;\n        const draw = () => {\n          const state = instance.get() as ThreadListState;\n          const menu = el.querySelector<MenuElement>(\"kind-thread-list-menu ui-menu\");\n          if (menu) {\n            const { controller, presentation, open } = api.menu.partState.menu(state);\n            write(menu, \"controller\", controller);\n            write(menu, \"presentation\", presentation);\n            // Only a close: the menu opens through the controller with its row's More as the anchor, and writing\n            // `open` calls `setOpen`, which would open it again without one, at the page's corner.\n            if (!open) write(menu, \"open\", false);\n          }\n          const host = el.querySelector(\"kind-thread-list-grid\");\n          if (host && !host.firstElementChild) host.replaceChildren(element(host.ownerDocument, \"div\"));\n          const grid = host?.firstElementChild ?? null;\n          if (ownedOrEmpty(grid)) drawRows(grid, state, api);\n          const content = el.querySelector<FocusElement>(\"kind-thread-list-menu-content > ui-menu-content\");\n          if (content) {\n            const { finalFocus, actions } = api.menuContentState(state);\n            write(content, \"finalFocus\", finalFocusSelector(el, \"menu\", finalFocus));\n            if (ownedOrEmpty(content)) drawActions(content, actions);\n          }\n          const { controller, dismissible, initialFocus, finalFocus, title, description } =\n            api.dialogState(state);\n          const dialog = el.querySelector<DialogElement>(\"kind-thread-list-dialog ui-alert-dialog\");\n          write(dialog, \"controller\", controller);\n          write(dialog, \"dismissible\", dismissible);\n          const dialogContent = el.querySelector<FocusElement>(\n            \"kind-thread-list-dialog ui-alert-dialog-content\",\n          );\n          write(dialogContent, \"initialFocus\", initialFocus);\n          write(dialogContent, \"finalFocus\", finalFocusSelector(el, \"dialog\", finalFocus));\n          fill(el.querySelector(\"kind-thread-list-dialog ui-alert-dialog-title\"), title);\n          fill(el.querySelector(\"kind-thread-list-dialog ui-alert-dialog-description\"), description);\n          drawEnd(el.querySelector(\"kind-thread-list-end\"), state.loadStatus);\n          fill(el.querySelector(\"kind-thread-list-empty\"), WORDS.nothingWaiting);\n        };\n        draw();\n        return instance.subscribe(draw);\n      },\n    },\n    new: { tag: \"kind-thread-list-new\", target: wrappedButton, display: \"contents\" },\n    empty: \"kind-thread-list-empty\",\n    viewport: \"kind-thread-list-viewport\",\n    // A native `div`, so the grid is a block as tall as its rows.\n    grid: { tag: \"kind-thread-list-grid\", target: wrappedChild(\"div\"), display: \"contents\" },\n    heading: \"kind-thread-list-heading\",\n    \"heading-cell\": \"kind-thread-list-heading-cell\",\n    row: \"kind-thread-list-row\",\n    \"link-cell\": \"kind-thread-list-link-cell\",\n    link: { tag: \"kind-thread-list-link\", target: wrappedChild(\"a\"), display: \"contents\" },\n    status: \"kind-thread-list-status\",\n    unread: \"kind-thread-list-unread\",\n    summary: \"kind-thread-list-summary\",\n    time: \"kind-thread-list-time\",\n    editor: { tag: \"kind-thread-list-editor\", target: wrappedChild(\"input\"), display: \"contents\" },\n    \"more-cell\": \"kind-thread-list-more-cell\",\n    more: { tag: \"kind-thread-list-more\", target: wrappedButton, display: \"contents\" },\n    unarchive: { tag: \"kind-thread-list-unarchive\", target: wrappedButton, display: \"contents\" },\n    \"fold-row\": \"kind-thread-list-fold-row\",\n    \"fold-cell\": \"kind-thread-list-fold-cell\",\n    fold: { tag: \"kind-thread-list-fold\", target: wrappedButton, display: \"contents\" },\n    menu: \"kind-thread-list-menu\",\n    \"menu-content\": { tag: \"kind-thread-list-menu-content\", display: \"contents\" },\n    dialog: { tag: \"kind-thread-list-dialog\", display: \"contents\" },\n    \"dialog-error\": \"kind-thread-list-dialog-error\",\n    \"dialog-cancel\": { tag: \"kind-thread-list-dialog-cancel\", target: wrappedButton, display: \"contents\" },\n    \"dialog-delete\": { tag: \"kind-thread-list-dialog-delete\", target: wrappedButton, display: \"contents\" },\n    end: \"kind-thread-list-end\",\n    retry: { tag: \"kind-thread-list-retry\", target: wrappedButton, display: \"contents\" },\n  });\n}\n\nexport type KindThreadListEvents = {\n  threadselect: UiChangeEvent<string, ThreadListReason>;\n  threadnew: CustomEvent<{ value: ActionDetails }>;\n  threadrename: CustomEvent<\n    { value: string } & ActionDetails & { title: string } & Pick<UiActionDetail, \"waitUntil\">\n  >;\n  pinchange: UiDetailedChangeEvent<string, ChangeDetails<ThreadListReason> & { pinned: boolean }>;\n  threadshare: UiChangeEvent<string, ThreadListReason>;\n  threadarchive: CustomEvent<{ value: string } & ActionDetails & Pick<UiActionDetail, \"waitUntil\">>;\n  threadunarchive: CustomEvent<{ value: string } & ActionDetails & Pick<UiActionDetail, \"waitUntil\">>;\n  threaddelete: CustomEvent<{ value: string } & ActionDetails & Pick<UiActionDetail, \"waitUntil\">>;\n  loadmore: CustomEvent<{ reason: ThreadListLoadReason }>;\n  openchange: UiChangeEvent<boolean, MenuOpenChangeReason | AlertDialogOpenChangeReason>;\n};\n\nexport interface KindThreadListElement\n  extends UiElement<KindThreadListEvents>,\n    AttributeProperties<typeof threadListPrimitive, \"threads\" | \"groupLabels\"> {\n  threads?: ThreadListOptions[\"threads\"];\n  groupLabels?: ThreadListOptions[\"groupLabels\"];\n  /** Whether following a link fires `threadselect`, and agents may `select`. */\n  canSelect: boolean;\n  /** Shows New chat, which fires `threadnew`. */\n  canNew: boolean;\n  /** Offers Rename, which fires `threadrename`. */\n  canRename: boolean;\n  /** Offers Pin and Unpin, which fire `pinchange`. */\n  canPin: boolean;\n  /** Offers Share, which fires `threadshare`. */\n  canShare: boolean;\n  /** Offers Archive, which fires `threadarchive`. */\n  canArchive: boolean;\n  /** Offers Unarchive in `view=\"archived\"`, which fires `threadunarchive`. */\n  canUnarchive: boolean;\n  /** Offers Delete, which fires `threaddelete`. */\n  canDelete: boolean;\n  /** Whether nearing the end and Retry fire `loadmore`. */\n  canLoadMore: boolean;\n}\n\ndeclare global {\n  interface HTMLElementTagNameMap {\n    \"kind-thread-list\": KindThreadListElement;\n    \"kind-thread-list-new\": HTMLElement;\n    \"kind-thread-list-viewport\": HTMLElement;\n    \"kind-thread-list-grid\": HTMLElement;\n    \"kind-thread-list-heading\": HTMLElement;\n    \"kind-thread-list-heading-cell\": HTMLElement;\n    \"kind-thread-list-row\": HTMLElement;\n    \"kind-thread-list-link-cell\": HTMLElement;\n    \"kind-thread-list-link\": HTMLElement;\n    \"kind-thread-list-status\": HTMLElement;\n    \"kind-thread-list-unread\": HTMLElement;\n    \"kind-thread-list-summary\": HTMLElement;\n    \"kind-thread-list-unarchive\": HTMLElement;\n    \"kind-thread-list-fold-row\": HTMLElement;\n    \"kind-thread-list-fold-cell\": HTMLElement;\n    \"kind-thread-list-fold\": HTMLElement;\n    \"kind-thread-list-empty\": HTMLElement;\n    \"kind-thread-list-time\": HTMLElement;\n    \"kind-thread-list-editor\": HTMLElement;\n    \"kind-thread-list-more-cell\": HTMLElement;\n    \"kind-thread-list-more\": HTMLElement;\n    \"kind-thread-list-menu\": HTMLElement;\n    \"kind-thread-list-menu-content\": HTMLElement;\n    \"kind-thread-list-dialog\": HTMLElement;\n    \"kind-thread-list-dialog-error\": HTMLElement;\n    \"kind-thread-list-dialog-cancel\": HTMLElement;\n    \"kind-thread-list-dialog-delete\": HTMLElement;\n    \"kind-thread-list-end\": HTMLElement;\n    \"kind-thread-list-retry\": HTMLElement;\n  }\n}\n",
      "type": "registry:ui",
      "target": "@ui/web/thread-list.ts"
    }
  ],
  "meta": {
    "layer": "web"
  },
  "type": "registry:ui"
}
