{
  "id": "@typed/template#HydrateContext",
  "canonicalId": "@typed/template#HydrateContext",
  "symbol": {
    "id": "@typed/template#HydrateContext",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "HydrateContext",
    "kind": "type",
    "signatures": [
      "export type HydrateContext = {\n    readonly where: HydrationNode;\n    readonly manyKey?: string;\n};",
      "export declare const HydrateContext: Context.Service<HydrateContext, HydrateContext>;"
    ],
    "summary": "Advanced renderer state describing the current hydration range.",
    "sections": {
      "Why": "The DOM renderer passes marker position and keyed-list identity through an\nEffect service instead of a hidden component tree. It is published for\nrenderer authors but is not normal application state.",
      "Ownership and lifetime": "A render Scope owns the referenced hydration cursor. Consumers must not retain\nor mutate it after that Scope closes."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { HydrateContext } from \"@typed/template/HydrateContext\"\n\ndeclare const context: HydrateContext\ncontext.where"
      },
      {
        "language": "ts",
        "code": "import { HydrateContext } from \"@typed/template/HydrateContext\"\nimport { Effect } from \"effect\"\n\nconst current = Effect.gen(function* () {\n  return (yield* HydrateContext).where\n})"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/HydrateContext.ts",
      "line": 31
    },
    "since": "1.0.0",
    "category": "Hydration context"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#HydrateContext",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "HydrateContext",
    "qualifiedName": "HydrateContext",
    "declarationKey": "declaration:9bee4aa278fff20e21e334f1",
    "family": "type-alias",
    "signatures": [
      "export type HydrateContext = {\n    readonly where: HydrationNode;\n    readonly manyKey?: string;\n};",
      "export declare const HydrateContext: Context.Service<HydrateContext, HydrateContext>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/HydrateContext.ts",
        "start": {
          "line": 31,
          "column": 1
        },
        "end": {
          "line": 39,
          "column": 3
        }
      },
      {
        "file": "packages/template/src/HydrateContext.ts",
        "start": {
          "line": 69,
          "column": 14
        },
        "end": {
          "line": 69,
          "column": 92
        }
      },
      {
        "file": "packages/template/src/HydrateContext.ts",
        "start": {
          "line": 35,
          "column": 3
        },
        "end": {
          "line": 35,
          "column": 29
        }
      },
      {
        "file": "packages/template/src/HydrateContext.ts",
        "start": {
          "line": 32,
          "column": 3
        },
        "end": {
          "line": 32,
          "column": 33
        }
      }
    ],
    "aliases": [
      "@typed/template/HydrateContext#HydrateContext"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:9bee4aa278fff20e21e334f1",
    "name": "HydrateContext",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type HydrateContext = {\n    readonly where: HydrationNode;\n    readonly manyKey?: string;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/HydrateContext.ts",
            "start": {
              "line": 31,
              "column": 1
            },
            "end": {
              "line": 39,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const HydrateContext: Context.Service<HydrateContext, HydrateContext>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/HydrateContext.ts",
            "start": {
              "line": 69,
              "column": 14
            },
            "end": {
              "line": 69,
              "column": 92
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly manyKey?: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/HydrateContext.ts",
            "start": {
              "line": 35,
              "column": 3
            },
            "end": {
              "line": 35,
              "column": 29
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly where: HydrationNode;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/HydrateContext.ts",
            "start": {
              "line": 32,
              "column": 3
            },
            "end": {
              "line": 32,
              "column": 33
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export type HydrateContext = {\n    readonly where: HydrationNode;\n    readonly manyKey?: string;\n};",
      "export declare const HydrateContext: Context.Service<HydrateContext, HydrateContext>;"
    ],
    "typeParameters": [],
    "summary": "Advanced renderer state describing the current hydration range.",
    "sections": {
      "Why": "The DOM renderer passes marker position and keyed-list identity through an\nEffect service instead of a hidden component tree. It is published for\nrenderer authors but is not normal application state.",
      "Ownership and lifetime": "A render Scope owns the referenced hydration cursor. Consumers must not retain\nor mutate it after that Scope closes."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { HydrateContext } from \"@typed/template/HydrateContext\"\n\ndeclare const context: HydrateContext\ncontext.where"
      },
      {
        "language": "ts",
        "code": "import { HydrateContext } from \"@typed/template/HydrateContext\"\nimport { Effect } from \"effect\"\n\nconst current = Effect.gen(function* () {\n  return (yield* HydrateContext).where\n})"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/HydrateContext.ts",
        "start": {
          "line": 31,
          "column": 1
        },
        "end": {
          "line": 39,
          "column": 3
        }
      },
      {
        "file": "packages/template/src/HydrateContext.ts",
        "start": {
          "line": 69,
          "column": 14
        },
        "end": {
          "line": 69,
          "column": 92
        }
      },
      {
        "file": "packages/template/src/HydrateContext.ts",
        "start": {
          "line": 35,
          "column": 3
        },
        "end": {
          "line": 35,
          "column": 29
        }
      },
      {
        "file": "packages/template/src/HydrateContext.ts",
        "start": {
          "line": 32,
          "column": 3
        },
        "end": {
          "line": 32,
          "column": 33
        }
      }
    ],
    "since": "1.0.0",
    "category": "Hydration context",
    "stability": "internal-but-published"
  }
}
