{
  "id": "@typed/template#StaticHtmlRenderTemplate",
  "canonicalId": "@typed/template#StaticHtmlRenderTemplate",
  "symbol": {
    "id": "@typed/template#StaticHtmlRenderTemplate",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "StaticHtmlRenderTemplate",
    "kind": "constant",
    "signatures": [
      "export declare const StaticHtmlRenderTemplate: Layer.Layer<RenderTemplate, never, never>;"
    ],
    "summary": "A variant of `HtmlRenderTemplate` that enables static rendering optimizations.\n\nThis layer provides the `RenderTemplate` service for HTML generation but also\nsets `StaticRendering` to `true`, enabling optimizations for static content.",
    "sections": {
      "Why": "Static output omits hydration markers when no client adoption contract is\nneeded, while retaining the same escaping and ordering rules.",
      "Ownership and lifetime": "Like `HtmlRenderTemplate`, service caches are Layer-scoped and each render is\nfinalized by the Scope running its Fx."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { StaticHtmlRenderTemplate } from \"@typed/template/Html\"\nimport { html } from \"@typed/template\"\nimport { renderToHtmlString } from \"@typed/template/Html\"\nimport { Effect } from \"effect\"\n\nconst output = Effect.runPromise(Effect.scoped(\n  renderToHtmlString(html`<p>ready</p>`).pipe(\n    Effect.provide(StaticHtmlRenderTemplate)\n  )\n))"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Html.ts",
      "line": 301
    },
    "since": "1.0.0",
    "category": "Static HTML rendering"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#StaticHtmlRenderTemplate",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "StaticHtmlRenderTemplate",
    "qualifiedName": "StaticHtmlRenderTemplate",
    "declarationKey": "declaration:af6533cab45a738192078673",
    "family": "variable",
    "signatures": [
      "export declare const StaticHtmlRenderTemplate: Layer.Layer<RenderTemplate, never, never>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Html.ts",
        "start": {
          "line": 301,
          "column": 14
        },
        "end": {
          "line": 303,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/template/Html#StaticHtmlRenderTemplate"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:af6533cab45a738192078673",
    "name": "StaticHtmlRenderTemplate",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const StaticHtmlRenderTemplate: Layer.Layer<RenderTemplate, never, never>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Html.ts",
            "start": {
              "line": 301,
              "column": 14
            },
            "end": {
              "line": 303,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const StaticHtmlRenderTemplate: Layer.Layer<RenderTemplate, never, never>;"
    ],
    "typeParameters": [],
    "summary": "A variant of `HtmlRenderTemplate` that enables static rendering optimizations.\n\nThis layer provides the `RenderTemplate` service for HTML generation but also\nsets `StaticRendering` to `true`, enabling optimizations for static content.",
    "sections": {
      "Why": "Static output omits hydration markers when no client adoption contract is\nneeded, while retaining the same escaping and ordering rules.",
      "Ownership and lifetime": "Like `HtmlRenderTemplate`, service caches are Layer-scoped and each render is\nfinalized by the Scope running its Fx."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { StaticHtmlRenderTemplate } from \"@typed/template/Html\"\nimport { html } from \"@typed/template\"\nimport { renderToHtmlString } from \"@typed/template/Html\"\nimport { Effect } from \"effect\"\n\nconst output = Effect.runPromise(Effect.scoped(\n  renderToHtmlString(html`<p>ready</p>`).pipe(\n    Effect.provide(StaticHtmlRenderTemplate)\n  )\n))"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Html.ts",
        "start": {
          "line": 301,
          "column": 14
        },
        "end": {
          "line": 303,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Static HTML rendering"
  }
}
