{
  "id": "@typed/template#ToRendered",
  "canonicalId": "@typed/template#ToRendered",
  "symbol": {
    "id": "@typed/template#ToRendered",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "ToRendered",
    "kind": "type",
    "signatures": [
      "export type ToRendered<T extends RenderEvent | null> = Rendered | (T extends null ? null : never);"
    ],
    "summary": "Computes the DOM value represented by a nullable `RenderEvent`.",
    "sections": {
      "Why": "Root rendering preserves `null` in the public result when a source can render\nnothing, while non-null events expose their actual `Rendered` nodes.",
      "Ownership and lifetime": "This type-level projection does not own the nodes it describes."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { ToRendered } from \"@typed/template/Render\"\nimport type { DomRenderEvent } from \"@typed/template/RenderEvent\"\n\ntype Output = ToRendered<DomRenderEvent>"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Render.ts",
      "line": 383
    },
    "since": "1.0.0",
    "category": "DOM output inference"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#ToRendered",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "ToRendered",
    "qualifiedName": "ToRendered",
    "declarationKey": "declaration:7202094b2652e5799d8318ab",
    "family": "type-alias",
    "signatures": [
      "export type ToRendered<T extends RenderEvent | null> = Rendered | (T extends null ? null : never);"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Render.ts",
        "start": {
          "line": 383,
          "column": 1
        },
        "end": {
          "line": 383,
          "column": 99
        }
      }
    ],
    "aliases": [
      "@typed/template/Render#ToRendered"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:7202094b2652e5799d8318ab",
    "name": "ToRendered",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type ToRendered<T extends RenderEvent | null> = Rendered | (T extends null ? null : never);"
        ],
        "typeParameters": [
          "T extends RenderEvent | null"
        ],
        "sourceSpans": [
          {
            "file": "packages/template/src/Render.ts",
            "start": {
              "line": 383,
              "column": 1
            },
            "end": {
              "line": 383,
              "column": 99
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export type ToRendered<T extends RenderEvent | null> = Rendered | (T extends null ? null : never);"
    ],
    "typeParameters": [
      "T extends RenderEvent | null"
    ],
    "summary": "Computes the DOM value represented by a nullable `RenderEvent`.",
    "sections": {
      "Why": "Root rendering preserves `null` in the public result when a source can render\nnothing, while non-null events expose their actual `Rendered` nodes.",
      "Ownership and lifetime": "This type-level projection does not own the nodes it describes."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { ToRendered } from \"@typed/template/Render\"\nimport type { DomRenderEvent } from \"@typed/template/RenderEvent\"\n\ntype Output = ToRendered<DomRenderEvent>"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Render.ts",
        "start": {
          "line": 383,
          "column": 1
        },
        "end": {
          "line": 383,
          "column": 99
        }
      }
    ],
    "since": "1.0.0",
    "category": "DOM output inference"
  }
}
